about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Functions/Misc/sticky-note7
1 files changed, 5 insertions, 2 deletions
diff --git a/Functions/Misc/sticky-note b/Functions/Misc/sticky-note
index 840ae1037..dee26cade 100644
--- a/Functions/Misc/sticky-note
+++ b/Functions/Misc/sticky-note
@@ -1,10 +1,13 @@
-#!/bin/zsh -f
+#!/bin/zsh -fi
 
 # A little zsh sticky-note ("post-it") application.  Sticky notes are
 # stored in the file named by the STICKYFILE variable (defaults to
 # $HOME/.zsticky).  The number of notes stored is STICKYSIZE (1000).
 #
-# May be bound as a widget:
+# Load this file as a function:
+#    autoload -U sticky-note
+#
+# It may then be bound as a widget:
 #    zle -N sticky-note
 # And/or run as a command:
 #    sticky-note