minor changes

This commit is contained in:
Maxim Kraev 2016-10-16 16:42:33 +01:00 committed by Maksim Kraev
commit 082dbb1098
2 changed files with 7 additions and 5 deletions

View file

@ -24,6 +24,7 @@ alias t='tail -f'
alias -g H='| head' alias -g H='| head'
alias -g T='| tail' alias -g T='| tail'
alias -g G='| grep' alias -g G='| grep'
alias -g Gi='| grep -i'
alias -g L="| less" alias -g L="| less"
alias -g M="| most" alias -g M="| most"
alias -g LL="2>&1 | less" alias -g LL="2>&1 | less"

View file

@ -59,9 +59,12 @@ fi
if [[ -x `which subl3` ]]; then if [[ -x `which subl3` ]]; then
alias s=subl3 alias s=subl3
fi fi
if [ "$SSH_TTY$DISPLAY" = "${DISPLAY#*:[1-9][0-9]}" ]; then
export EDITOR=gedit
else
export EDITOR=vim export EDITOR=vim
fi
export VISUAL=$EDITOR export VISUAL=$EDITOR
if [ -d "$HOME/bin" ] ; then if [ -d "$HOME/bin" ] ; then
@ -74,9 +77,7 @@ fi
#npm #npm
if [ -d "$HOME/.npm/bin" ] ; then export PATH=node_modules/.bin:${PATH}
export PATH=${HOME}/.npm/bin:${PATH}
fi
#go #go
if [ -d "${HOME}/Projects/go" ] ; then if [ -d "${HOME}/Projects/go" ] ; then