zsh-config/zsh/50-aliases.zsh

21 lines
514 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 `find ${CONFIG_PATH}/zsh/aliases -type f | sort`; do
source ${item}
done
if [ -d "${HOME}/.zsh-config.d/aliases" ]; then
for item in `find ${HOME}/.zsh-config.d/aliases -type f | sort`; do
if [ -f ${item} ]; then
source ${item}
fi
done
fi