about summary refs log tree commit diff
path: root/Functions/Misc/sticky-note
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2008-01-16 08:09:20 +0000
committerBart Schaefer <barts@users.sourceforge.net>2008-01-16 08:09:20 +0000
commit3823be143b75737a20a5bdac685586320db79063 (patch)
tree1a244ee3096d7b802099eb22cdf9859ad1fb0b94 /Functions/Misc/sticky-note
parent8df062d68e2abb9c04316984d74a35e59db945c6 (diff)
downloadzsh-3823be143b75737a20a5bdac685586320db79063.tar.gz
zsh-3823be143b75737a20a5bdac685586320db79063.tar.xz
zsh-3823be143b75737a20a5bdac685586320db79063.zip
Fix introductory comment and add -i to the #! line.
Diffstat (limited to 'Functions/Misc/sticky-note')
-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