summaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2008-12-13 11:16:18 +0100
committerFlorian Pritz <f-p@gmx.at>2008-12-13 11:16:18 +0100
commitfd12d7f43e659d4bdd348999c8d2d129f16aaa57 (patch)
tree898455081ca558990c8f80b93947a7ead0556ba5 /.zshrc
parent44d056f1daa054d55f698a6840f111ab91912188 (diff)
downloaddotfiles-fd12d7f43e659d4bdd348999c8d2d129f16aaa57.tar.gz
dotfiles-fd12d7f43e659d4bdd348999c8d2d129f16aaa57.tar.xz
fixed comp for rc
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index d3b5819..0094b2f 100644
--- a/.zshrc
+++ b/.zshrc
@@ -40,7 +40,7 @@ function _7slash {
function _rc () {
case $CURRENT in
- 2) compadd `ls /etc/rc.d/`;;
+ 2) compadd $(find /etc/rc.d/ -type f -executable -printf '%f ');;
3) compadd start stop restart reload;;
esac
}