fix zsh.d files

This commit is contained in:
Simonas Narbutas
2019-11-22 12:49:39 +01:00
parent bb1363f92e
commit ad7f785f3b
9 changed files with 8 additions and 7 deletions

21
.zsh.d/20-aliases.zsh Normal file
View File

@@ -0,0 +1,21 @@
if ls --color=auto >&/dev/null; then
alias ls='ls -F --color=auto'
else
alias ls='ls -F'
fi
alias ll='ls -lh'
alias cat='bat'
if grep --color=auto >&/dev/null; then
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
fi
if which nvim > /dev/null; then
alias vi='nvim'
fi
alias find='noglob find'
alias git='noglob git'
alias history='history -2000'
alias gssh='gcloud compute ssh --ssh-flag "-J shd-gcp-jump-001.bolcom.net"'