zsh/.config/zsh/interactive/aliases
Danielle McLean 8273e0ce15 Migrate zsh config to XDG base dir location
.zshenv still needs to live in ~ for bootstrapping, but everything else
is now squirrelled away in ~/.config/zsh instead.

Note that zplug still lives in ~/.zplug - it should be relocated too but
hasn't been yet.
2016-10-06 09:21:16 +11:00

17 lines
362 B
Bash

#! 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