summaryrefslogtreecommitdiff
path: root/etc/function
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-11-12 22:02:20 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-11-12 22:02:20 +0100
commitc7927ea61730bd6d8a283078d89dffdca08535cd (patch)
tree2f6098a2aa4070d9d35c6a4c1cf9614a8da9c0f6 /etc/function
parentd3d4767fb5ba7e036cdbb8e351f678e54e95078f (diff)
Merge stuff into .zshrc
Diffstat (limited to 'etc/function')
-rw-r--r--etc/function19
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}
- }
-}