1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-05-05 05:49:49 +00:00

[Fix ] Remove compdef calls

This commit is contained in:
Sorin Ionescu 2012-06-13 18:04:08 -04:00
parent e4be6d633f
commit 54e8b37c77
5 changed files with 26 additions and 3 deletions
modules
osx/functions
utility/functions

@ -0,0 +1,12 @@
#compdef manb manp
#autoload
#
# Completes manb and manp.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
_man

@ -19,6 +19,6 @@ function manb {
print 'What manual page do you want?' >&2
fi
}
compdef _man manb
manb "$@"

@ -15,6 +15,6 @@ function manp {
print 'What manual page do you want?' >&2
fi
}
compdef _man manp
manp "$@"

@ -0,0 +1,12 @@
#compdef dut
#autoload
#
# Completes dut.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
_du

@ -23,7 +23,6 @@ function dut {
done < <(du -kcs "$@") | sort -n -r
fi
}
compdef _du dut
dut "$@"