Set up $EDITOR and virtualenvwrapper; fix ls
This commit is contained in:
parent
c79aea2345
commit
732c16a2cd
12
bash/.bashrc
12
bash/.bashrc
@ -5,7 +5,7 @@
|
|||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls -G'
|
||||||
PS1='[\u@\h \W]\$ '
|
PS1='[\u@\h \W]\$ '
|
||||||
|
|
||||||
if [ -f /usr/share/nvm/init-nvm.sh ];
|
if [ -f /usr/share/nvm/init-nvm.sh ];
|
||||||
@ -16,7 +16,17 @@ fi
|
|||||||
GPG_TTY=$(tty)
|
GPG_TTY=$(tty)
|
||||||
export GPG_TTY
|
export GPG_TTY
|
||||||
|
|
||||||
|
if [ -f /usr/local/bin/virtualenvwrapper.sh ];
|
||||||
|
then
|
||||||
|
export WORKON_HOME=$HOME/.virtualenvs
|
||||||
|
source /usr/local/bin/virtualenvwrapper.sh
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -x "$(command -v direnv)" ];
|
if [ -x "$(command -v direnv)" ];
|
||||||
then
|
then
|
||||||
eval "$(direnv hook bash)"
|
eval "$(direnv hook bash)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
alias edit='emacsclient -nw'
|
||||||
|
EDITOR='emacsclient -nw'
|
||||||
|
export EDITOR
|
||||||
|
Loading…
Reference in New Issue
Block a user