git.annexia.org
/
techtalk-pse.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add Next/Back buttons to slides.
[techtalk-pse.git]
/
examples
/
simple
/
functions
1
# -*- shell-script -*-
2
3
export PS1="$ "
4
export HISTFILE=/tmp/history
5
6
rm -f $HISTFILE
7
8
add_history ()
9
{
10
echo "$@" >> $HISTFILE
11
}
12
13
terminal ()
14
{
15
gnome-terminal \
16
--window \
17
--geometry=+100+100 \
18
--hide-menubar \
19
--title='Tech Talk PSE Simple example' \
20
-e '/bin/bash --norc'
21
}