Browse Source

[Fix #196] Remove compdef calls

master
Sorin Ionescu 13 years ago
parent
commit
54e8b37c77
  1. 12
      modules/osx/functions/_manb_manp
  2. 2
      modules/osx/functions/manb
  3. 2
      modules/osx/functions/manp
  4. 12
      modules/utility/functions/_dut
  5. 1
      modules/utility/functions/dut

12
modules/osx/functions/_manb_manp

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

2
modules/osx/functions/manb

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

2
modules/osx/functions/manp

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

12
modules/utility/functions/_dut

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

1
modules/utility/functions/dut

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

Loading…
Cancel
Save