mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
minor changes
This commit is contained in:
parent
09b6fde6af
commit
082dbb1098
2 changed files with 7 additions and 5 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
export EDITOR=vim
|
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue