aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/shell
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-01-30 15:01:25 -0200
committerSilvio Rhatto <rhatto@riseup.net>2019-01-30 15:01:25 -0200
commitefd2b4887d30fb9163bb14dffe8312e4a2097b2a (patch)
tree247cfaa26950d8579abd86a4502ca08d4862cbe8 /lib/keyringer/actions/shell
parenta5e39bf904e83989b763f001a29adb9053df60f2 (diff)
parentbfb19958de60135f98deec6089cd291b43ba9d9c (diff)
downloadkeyringer-efd2b4887d30fb9163bb14dffe8312e4a2097b2a.tar.gz
keyringer-efd2b4887d30fb9163bb14dffe8312e4a2097b2a.tar.bz2
New upstream version 0.5.4upstream_keyringer_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