2015-03-08 22:21:29 +05:00
|
|
|
# Some great default aliases.
|
|
|
|
# Custom aliases should go to ${HOME}/.zsh-config.d/10-aliases.conf
|
|
|
|
# (or other file).
|
2014-12-02 21:07:00 +05:00
|
|
|
alias screen="TERM=xterm screen"
|
|
|
|
|
|
|
|
# Other
|
|
|
|
alias clocksync="sudo ntpdate 0.pool.ntp.org"
|
|
|
|
alias got="git"
|
2015-03-12 20:09:24 +05:00
|
|
|
|
2015-03-21 20:30:55 +05:00
|
|
|
for item in `find "${CONFIG_PATH}/zsh/aliases" -type f -exec basename {} \; | sort`; do
|
|
|
|
source "${CONFIG_PATH}/zsh/aliases/${item}"
|
2015-03-12 20:09:24 +05:00
|
|
|
done
|
|
|
|
|
|
|
|
if [ -d "${HOME}/.zsh-config.d/aliases" ]; then
|
2015-03-21 20:30:55 +05:00
|
|
|
for item in `find "${HOME}/.zsh-config.d/aliases" -type f -exec basename {} \; | sort`; do
|
|
|
|
if [ -f "${HOME}/.zsh-config.d/aliases/${item}" ]; then
|
|
|
|
source "${HOME}/.zsh-config.d/aliases/${item}"
|
2015-03-21 16:32:25 +05:00
|
|
|
fi
|
2015-03-12 20:09:24 +05:00
|
|
|
done
|
|
|
|
fi
|