forked from misc/zsh-config
21 lines
567 B
Bash
21 lines
567 B
Bash
# Some great default aliases.
|
|
# Custom aliases should go to ${HOME}/.zsh-config.d/10-aliases.conf
|
|
# (or other file).
|
|
alias screen="TERM=xterm screen"
|
|
|
|
# Other
|
|
alias clocksync="sudo ntpdate 0.pool.ntp.org"
|
|
alias got="git"
|
|
|
|
for item in `ls ${CONFIG_PATH}/zsh/aliases`; do
|
|
source ${CONFIG_PATH}/zsh/aliases/${item}
|
|
done
|
|
|
|
if [ -d "${HOME}/.zsh-config.d/aliases" ]; then
|
|
for item in `ls ${HOME}/.zsh-config.d/aliases`; do
|
|
if [ -f ${HOME}/.zsh-config.d/aliases/${item} ]; then
|
|
source ${HOME}/.zsh-config.d/aliases/${item}
|
|
fi
|
|
done
|
|
fi
|