git.annexia.org
/
techtalk-pse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Next/Back buttons to slides.
[techtalk-pse.git]
/
examples
/
simple
/
functions
diff --git
a/examples/simple/functions
b/examples/simple/functions
index
9c2ed48
..
2ea2994
100644
(file)
--- a/
examples/simple/functions
+++ b/
examples/simple/functions
@@
-3,6
+3,13
@@
export PS1="$ "
export HISTFILE=/tmp/history
+rm -f $HISTFILE
+
+add_history ()
+{
+ echo "$@" >> $HISTFILE
+}
+
terminal ()
{
gnome-terminal \