prezto_config/functions/reload

15 lines
198 B
Plaintext
Raw Normal View History

2012-02-01 05:37:51 +01:00
#
# Reloads the Zsh configuration.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
2011-10-12 05:13:58 +02:00
# Reloads ~/.zshrc.
local zshrc="$HOME/.zshrc"
if [[ -n "$1" ]]; then
zshrc="$1"
fi
source "$zshrc"