diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-11-12 22:02:20 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-11-12 22:02:20 +0100 |
commit | c7927ea61730bd6d8a283078d89dffdca08535cd (patch) | |
tree | 2f6098a2aa4070d9d35c6a4c1cf9614a8da9c0f6 /etc/function | |
parent | d3d4767fb5ba7e036cdbb8e351f678e54e95078f (diff) |
Merge stuff into .zshrc
Diffstat (limited to 'etc/function')
-rw-r--r-- | etc/function | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/etc/function b/etc/function deleted file mode 100644 index 61fc8fa..0000000 --- a/etc/function +++ /dev/null @@ -1,19 +0,0 @@ -## vim:ft=zsh -zrc_status functions - -# zsh functions -autoload -U compinit -autoload zargs - -# own functions -autoload $ZDIR/functions/*(:t) - -function Status Start Stop Restart Reload { - typeset script sudo - if ((EUID)) { - sudo=sudo - } - for script in $*; { - $sudo /etc/init.d/$script ${0:l} - } -} |