add macbook vim/zsh initial

Change-Id: I3e492fecfb97756ab0f5d41bd6931cdfabfd51a2
This commit is contained in:
Simonas Narbutas
2018-07-09 17:10:20 +02:00
parent e8b850e9d0
commit 8268bdc934
7 changed files with 209 additions and 0 deletions

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

@@ -0,0 +1,19 @@
if ls --color=auto >&/dev/null; then
alias ls='ls -F --color=auto'
else
alias ls='ls -F'
fi
alias ll='ls -ltrh'
if grep --color=auto >&/dev/null; then
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
fi
if which vim > /dev/null; then
alias vi='vim'
fi
alias find='noglob find'
alias git='noglob git'
alias history='history -100'