aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/shell
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-01-30 15:01:30 -0200
committerSilvio Rhatto <rhatto@riseup.net>2019-01-30 15:01:30 -0200
commit7472e865ef5975ef33d6aae4aea6fcda395016b5 (patch)
treed8fae0c630d6884895f5189f981b996dcbaf8ca3 /lib/keyringer/actions/shell
parente4b30172df9c54e5672b901a6420de67ef8f76a0 (diff)
parentefd2b4887d30fb9163bb14dffe8312e4a2097b2a (diff)
downloadkeyringer-7472e865ef5975ef33d6aae4aea6fcda395016b5.tar.gz
keyringer-7472e865ef5975ef33d6aae4aea6fcda395016b5.tar.bz2
Merge tag 'upstream_keyringer_0.5.4' into debian
Upstream version 0.5.4
Diffstat (limited to 'lib/keyringer/actions/shell')
-rwxr-xr-xlib/keyringer/actions/shell2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/keyringer/actions/shell b/lib/keyringer/actions/shell
index 3b98d68..d87a638 100755
--- a/lib/keyringer/actions/shell
+++ b/lib/keyringer/actions/shell
@@ -15,6 +15,8 @@ keyringer_usage $KEYRING
# While a "quit" command isn't entered, read STDIN
while read -rep "keyringer:/${KEYRING}${SHELLPATH}> " STDIN; do
+ history -s "$STDIN"
+
if [ "$STDIN" == "quit" ] || [ "$STDIN" == "exit" ] || [ "$STDIN" == "bye" ]; then
break
elif [ "$STDIN" == "shell" ]; then