zsh-config/zsh/50-aliases.zsh
pztrn 5de20407af - EDITOR variable export fixed.
- Aliases now can be loaded from "aliases" directory, both in $HOME and in sources tree.
- Some useful aliases for Arch Linux added.
2015-03-12 20:09:24 +05:00

19 lines
490 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
source ${HOME}/.zsh-config.d/aliases/${item}
done
fi