Formatting
This commit is contained in:
parent
002660d715
commit
e350f95653
19
bash/.bashrc
19
bash/.bashrc
@ -8,30 +8,27 @@
|
|||||||
alias ls='ls -G'
|
alias ls='ls -G'
|
||||||
PS1='[\u@\h \W]\$ '
|
PS1='[\u@\h \W]\$ '
|
||||||
|
|
||||||
if [ -x "$(command -v direnv)" ];
|
if [ -x "$(command -v direnv)" ]; then
|
||||||
then
|
|
||||||
eval "$(direnv hook bash)"
|
eval "$(direnv hook bash)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias edit="$(which emacsclient) "
|
alias edit="$(which emacsclient) "
|
||||||
|
|
||||||
if [ -f /usr/share/nvm/init-nvm.sh ];
|
if [ -f /usr/share/nvm/init-nvm.sh ]; then
|
||||||
then
|
|
||||||
source /usr/share/nvm/init-nvm.sh
|
source /usr/share/nvm/init-nvm.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "$HOME/.nvm" ];
|
if [ -d "$HOME/.nvm" ]; then
|
||||||
then
|
export NVM_DIR="$HOME/.nvm"
|
||||||
export NVM_DIR="$HOME/.nvm"
|
[ -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
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f ~/.bashrc.local ];
|
|
||||||
then
|
|
||||||
if [ -e "$(which virtualenvwrapper.sh)" ]; then
|
if [ -e "$(which virtualenvwrapper.sh)" ]; then
|
||||||
source "$(which virtualenvwrapper.sh)"
|
source "$(which virtualenvwrapper.sh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f ~/.bashrc.local ]; then
|
||||||
source ~/.bashrc.local
|
source ~/.bashrc.local
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user