Initial commit, modular zsh config easy to extend with extra behaviours

This commit is contained in:
Danielle McLean 2016-10-02 18:17:25 +11:00
commit df6164e3aa
No known key found for this signature in database
GPG key ID: CC91589719027E94
22 changed files with 154 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#! zsh
alias has_command='whence >/dev/null'
alias ls="ls -F --color=auto"
alias lsl="ls -lh"
alias grep="grep --color=auto"
alias egrep="egrep --color=auto"
alias pseudo="sudo"
if has_command xdg-open; then
alias ]='xdg-open'
else
alias ]='open'
fi
# make sure ELinks can detect when it's in tmux
alias elinks="STY= elinks"
has_command hub && alias git=hub