aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/shell
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-01-30 15:01:02 -0200
committerSilvio Rhatto <rhatto@riseup.net>2019-01-30 15:01:02 -0200
commitdc7d4bf2a68bd167cb5850a03105b9f4ca19f90e (patch)
treef470a9254f16f20cee1c91e2af029949b4fa9e4e /lib/keyringer/actions/shell
parente5659e2ba6be675f2f8383e0264bde8968a869d0 (diff)
parentbfb19958de60135f98deec6089cd291b43ba9d9c (diff)
downloadkeyringer-dc7d4bf2a68bd167cb5850a03105b9f4ca19f90e.tar.gz
keyringer-dc7d4bf2a68bd167cb5850a03105b9f4ca19f90e.tar.bz2
Merge branch 'develop'
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