diff options
Diffstat (limited to 'bash_profile')
| -rw-r--r-- | bash_profile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/bash_profile b/bash_profile index 72be8d5..53aad16 100644 --- a/bash_profile +++ b/bash_profile @@ -4,30 +4,30 @@ # # Load bashrc -[[ -f ~/.bashrc ]] && source ~/.bashrc +[[ -f "$HOME/.bashrc" ]] && source "$HOME/.bashrc" # Custom Scripts -scripts="~/repos/scripts" -[ -d "$scripts" ] && PATH=$PATH:$scripts +scripts="$HOME/repositories/scripts" +[[ -d "$scripts" ]] && PATH="$PATH:$scripts" -# Node/NPM: make global pkg installs use ~/.local -exists node && export NODE_PATH=~/.local/lib/node_modules:$NODE_PATH -exists npm && export npm_config_prefix=~/.local -export PATH=~/.local/bin:$PATH +# Node/NPM: make global pkg installs use $HOME/.local +exists node && export NODE_PATH="$HOME/.local/lib/node_modules:$NODE_PATH" +exists npm && export npm_config_prefix="$HOME/.local" +export PATH="$HOME/.local/bin:$PATH" # Editor if exists vim; then - export EDITOR=vim - export VISUAL=$EDITOR + export EDITOR="vim" + export VISUAL="$EDITOR" fi # History -export HISTFILE=~/.cache/bash_history +export HISTFILE="$HOME/.cache/bash_history" # Less export LESS="-R" -export LESSCHARSET=utf-8 -export LESSHISTFILE=~/.cache/less_history +export LESSCHARSET="utf-8" +export LESSHISTFILE="$HOME/.cache/less_history" export LESS_TERMCAP_mb=$'\e[01;33m' # begin blinking export LESS_TERMCAP_md=$'\e[01;33m' # begin bold export LESS_TERMCAP_me=$'\e[0m' # end all modes |
