summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-10-20 22:50:27 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-10-20 22:50:27 +0200
commit9216ee2c5b45c2c2e6a422c2d3edea3e67a6fde9 (patch)
treea99d866f5a81c4e271dd41bd0d5440dfa71d1d5e
parente2707f4d9fe6f792427fb08cfdc58354f29de5b0 (diff)
functions: Don't autoload functions which are already loaded
-rw-r--r--etc/functions/newsbeuter1
-rw-r--r--etc/functions/off1
-rw-r--r--etc/functions/put1
3 files changed, 0 insertions, 3 deletions
diff --git a/etc/functions/newsbeuter b/etc/functions/newsbeuter
index dd43fb9..0c8c646 100644
--- a/etc/functions/newsbeuter
+++ b/etc/functions/newsbeuter
@@ -1,6 +1,5 @@
## vim:ft=zsh
## wrapper around newsbeuter to keep the feeds in sync
-autoload fdie
function __sync {
if [[ $HOST != aneurysm ]] {
diff --git a/etc/functions/off b/etc/functions/off
index 53f9343..f1c104d 100644
--- a/etc/functions/off
+++ b/etc/functions/off
@@ -4,7 +4,6 @@
## Copyright (C) 2008, 2009 by Daniel Friesel <derf@derf.homelinux.org>
## License: WTFPL <http://sam.zoy.org/wtfpl>
-autoload warn fdie
typeset filesystem garbage file
typeset -a filesystems
typeset tune2fs
diff --git a/etc/functions/put b/etc/functions/put
index f2d5408..f0be248 100644
--- a/etc/functions/put
+++ b/etc/functions/put
@@ -5,7 +5,6 @@
## Copyright (C) 2008, 2009 by Daniel Friesel <derf@derf.homelinux.org>
## License: WTFPL <http://sam.zoy.org/wtfpl>
-autoload check_com fdie warn
typeset hostname
typeset -a ssh_options hosts
typeset target_dir server_prefix