/ .bashrc
.bashrc
1 # 2 # ~/.bashrc 3 # 4 5 # If not running interactively, don't do anything 6 [[ $- != *i* ]] && return 7 8 alias ls='ls --color=auto' 9 PS1='[\u@\h \W]\$ ' 10 export PATH="$HOME/node_modules/.bin:$HOME/.local/bin:$HOME/.local/share/bin:$PATH" 11 12 # If not running interactively, don't do anything 13 case $- in 14 *i*) ;; 15 *) return;; 16 esac 17 18 # Path to the bash it configuration 19 export BASH_IT="/home/sainnhe/.bash_it" 20 21 # Lock and Load a custom theme file. 22 # Leave empty to disable theming. 23 # location /.bash_it/themes/ 24 export BASH_IT_THEME='bobby' 25 26 # Some themes can show whether `sudo` has a current token or not. 27 # Set `$THEME_CHECK_SUDO` to `true` to check every prompt: 28 #THEME_CHECK_SUDO='true' 29 30 # (Advanced): Change this to the name of your remote repo if you 31 # cloned bash-it with a remote other than origin such as `bash-it`. 32 # export BASH_IT_REMOTE='bash-it' 33 34 # (Advanced): Change this to the name of the main development branch if 35 # you renamed it or if it was changed for some reason 36 # export BASH_IT_DEVELOPMENT_BRANCH='master' 37 38 # Your place for hosting Git repos. I use this for private repos. 39 export GIT_HOSTING='git@git.domain.com' 40 41 # Don't check mail when opening terminal. 42 unset MAILCHECK 43 44 # Change this to your console based IRC client of choice. 45 export IRC_CLIENT='irssi' 46 47 # Set this to the command you use for todo.txt-cli 48 export TODO="t" 49 50 # Set this to the location of your work or project folders 51 #BASH_IT_PROJECT_PATHS="${HOME}/Projects:/Volumes/work/src" 52 53 # Set this to false to turn off version control status checking within the prompt for all themes 54 export SCM_CHECK=true 55 # Set to actual location of gitstatus directory if installed 56 #export SCM_GIT_GITSTATUS_DIR="$HOME/gitstatus" 57 # per default gitstatus uses 2 times as many threads as CPU cores, you can change this here if you must 58 #export GITSTATUS_NUM_THREADS=8 59 60 # Set Xterm/screen/Tmux title with only a short hostname. 61 # Uncomment this (or set SHORT_HOSTNAME to something else), 62 # Will otherwise fall back on $HOSTNAME. 63 #export SHORT_HOSTNAME=$(hostname -s) 64 65 # Set Xterm/screen/Tmux title with only a short username. 66 # Uncomment this (or set SHORT_USER to something else), 67 # Will otherwise fall back on $USER. 68 #export SHORT_USER=${USER:0:8} 69 70 # If your theme use command duration, uncomment this to 71 # enable display of last command duration. 72 #export BASH_IT_COMMAND_DURATION=true 73 # You can choose the minimum time in seconds before 74 # command duration is displayed. 75 #export COMMAND_DURATION_MIN_SECONDS=1 76 77 # Set Xterm/screen/Tmux title with shortened command and directory. 78 # Uncomment this to set. 79 #export SHORT_TERM_LINE=true 80 81 # Set vcprompt executable path for scm advance info in prompt (demula theme) 82 # https://github.com/djl/vcprompt 83 #export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt 84 85 # (Advanced): Uncomment this to make Bash-it reload itself automatically 86 # after enabling or disabling aliases, plugins, and completions. 87 # export BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE=1 88 89 # Uncomment this to make Bash-it create alias reload. 90 # export BASH_IT_RELOAD_LEGACY=1 91 92 # Load Bash It 93 source "$BASH_IT"/bash_it.sh