1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-02 12:09:26 +00:00

[Fix #60] Do not use parentheses in function names

This commit is contained in:
Sorin Ionescu
2012-03-23 14:57:51 -04:00
parent a3b92bb053
commit 6a9a4ea8d6
22 changed files with 66 additions and 67 deletions

View File

@ -6,7 +6,7 @@
#
if (( $+commands[gdircolors] )); then
function __gnu_utils() {
function __gnu_utils {
emulate -L zsh
local gcmds
local gcmd
@ -46,7 +46,7 @@ if (( $+commands[gdircolors] )); then
}
__gnu_utils;
function hash() {
function hash {
if (( $+argv[(er)-r] )) || (( $+argv[(er)-f] )); then
builtin hash "$@"
__gnu_utils
@ -55,7 +55,7 @@ if (( $+commands[gdircolors] )); then
fi
}
function rehash() {
function rehash {
hash -r "$@"
}