blob: 20439c28e9ee4b38e09ca1ce55dfce4b21f36bbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
## vim:ft=zsh
## reload the zshrc / some functions
## Usage: reload [function names]
if [[ ${#*} == 0 ]] {
source ~/.zshrc
rehash
} else {
local function
for function in ${@}; {
unfunction ${function}
autoload ${function}
}
}
|