mirror of
https://github.com/harish2704/dotFiles.git
synced 2026-09-10 15:21:09 +00:00
Misc files
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
# .bash_profile
|
||||||
|
|
||||||
|
# Get the aliases and functions
|
||||||
|
if [ -f ~/.bashrc ]; then
|
||||||
|
. ~/.bashrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
# User specific environment and startup programs
|
||||||
+13
-54
@@ -1,62 +1,21 @@
|
|||||||
# Sample .bashrc for SuSE Linux
|
# .bashrc
|
||||||
# Copyright (c) SuSE GmbH Nuernberg
|
|
||||||
|
|
||||||
# There are 3 different types of shells in bash: the login shell, normal shell
|
# Source global definitions
|
||||||
# and interactive shell. Login shells read ~/.profile and interactive shells
|
if [ -f /etc/bashrc ]; then
|
||||||
# read ~/.bashrc; in our setup, /etc/profile sources ~/.bashrc - thus all
|
. /etc/bashrc
|
||||||
# settings made here will also take effect in a login shell.
|
|
||||||
#
|
|
||||||
# NOTE: It is recommended to make language settings in ~/.profile rather than
|
|
||||||
# here, since multilingual X sessions would not work properly if LANG is over-
|
|
||||||
# ridden in every subshell.
|
|
||||||
|
|
||||||
# Some applications read the EDITOR variable to determine your favourite text
|
|
||||||
# editor. So uncomment the line below and enter the editor of your choice :-)
|
|
||||||
export EDITOR=/usr/bin/vim
|
|
||||||
#export EDITOR=/usr/bin/mcedit
|
|
||||||
|
|
||||||
# For some news readers it makes sense to specify the NEWSSERVER variable here
|
|
||||||
#export NEWSSERVER=your.news.server
|
|
||||||
|
|
||||||
# If you want to use a Palm device with Linux, uncomment the two lines below.
|
|
||||||
# For some (older) Palm Pilots, you might need to set a lower baud rate
|
|
||||||
# e.g. 57600 or 38400; lowest is 9600 (very slow!)
|
|
||||||
#
|
|
||||||
#export PILOTPORT=/dev/pilot
|
|
||||||
#export PILOTRATE=115200
|
|
||||||
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '
|
|
||||||
if test -z "$USER_BASHRC_READ"; then
|
|
||||||
. $HOME/.profile
|
|
||||||
|
|
||||||
test -s ~/.alias && . ~/.alias || true
|
|
||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
|
||||||
|
|
||||||
|
|
||||||
# The next line updates PATH for the Google Cloud SDK.
|
|
||||||
if [ -f "$HOME/Downloads/google-cloud-sdk/path.bash.inc" ]; then . "$HOME/Downloads/google-cloud-sdk/path.bash.inc"; fi
|
|
||||||
|
|
||||||
# The next line enables shell command completion for gcloud.
|
|
||||||
if [ -f "$HOME/Downloads/google-cloud-sdk/completion.bash.inc" ]; then . "$HOME/Downloads/google-cloud-sdk/completion.bash.inc"; fi
|
|
||||||
|
|
||||||
export DENO_INSTALL="$HOME/.deno"
|
|
||||||
export PATH="$DENO_INSTALL/bin:$PATH"
|
|
||||||
export USER_BASHRC_READ=1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
||||||
|
# export SYSTEMD_PAGER=
|
||||||
|
|
||||||
|
export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
|
||||||
|
|
||||||
|
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
nvmLoad(){
|
nvmLoad(){
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
}
|
}
|
||||||
|
|
||||||
javaLoad(){
|
export TIME_STYLE=long-iso
|
||||||
export JAVA_HOME=/opt/jdk1.8.0_201/jre/
|
. /usr/share/fzf/shell/key-bindings.bash
|
||||||
export PATH="/opt/android-sdk/tools:/opt/android-sdk/tools/bin:$PATH"
|
|
||||||
}
|
|
||||||
|
|
||||||
androidLoad(){
|
|
||||||
export ANDROID_SDK_ROOT=/opt/android-sdk
|
|
||||||
}
|
|
||||||
|
|
||||||
eval "$($HOME/.local/bin/hari-tools.sh setup-autocomplete) hari-tools.sh"
|
|
||||||
. /usr/share/bash-completion/completions/fzf-key-bindings
|
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[*.{js,json,yml}]
|
||||||
|
charset = utf-8
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
[user]
|
||||||
|
email = harish2704@gmail.com
|
||||||
|
name = Harish Karumuthil
|
||||||
|
[guitool "Terminal2"]
|
||||||
|
cmd = konsole -e zsh
|
||||||
|
noconsole = yes
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
[filter "lfs"]
|
||||||
|
process = git-lfs filter-process
|
||||||
|
required = true
|
||||||
|
clean = git-lfs clean -- %f
|
||||||
|
smudge = git-lfs smudge -- %f
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
.bash_history
|
||||||
|
.yarn/*
|
||||||
|
!.yarn/patches
|
||||||
|
!.yarn/plugins
|
||||||
|
!.yarn/releases
|
||||||
|
!.yarn/sdks
|
||||||
|
!.yarn/versions
|
||||||
|
|
||||||
|
# Swap the comments on the following lines if you don't wish to use zero-installs
|
||||||
|
# Documentation here: https://yarnpkg.com/features/zero-installs
|
||||||
|
!.yarn/cache
|
||||||
|
#.pnp.*
|
||||||
+2
-2
@@ -34,8 +34,6 @@ export PATH="$HOME/.cargo/bin:$PATH"
|
|||||||
export PYENV_ROOT="$HOME/.pyenv"
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
|
||||||
export PATH=/opt/android-sdk/platform-tools:$PATH
|
|
||||||
export USER_PROFILEREAD=1
|
|
||||||
|
|
||||||
|
|
||||||
export INPUT_METHOD=ibus
|
export INPUT_METHOD=ibus
|
||||||
@@ -43,4 +41,6 @@ export GTK_IM_MODULE=ibus
|
|||||||
export XMODIFIERS=@im=ibus
|
export XMODIFIERS=@im=ibus
|
||||||
export QT_IM_MODULE=ibus
|
export QT_IM_MODULE=ibus
|
||||||
|
|
||||||
|
export USER_PROFILEREAD=1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user