forked from misc/zsh-config
pztrn
5de20407af
- Aliases now can be loaded from "aliases" directory, both in $HOME and in sources tree. - Some useful aliases for Arch Linux added.
19 lines
490 B
Bash
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
|