diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-01-30 15:01:02 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-01-30 15:01:02 -0200 |
commit | dc7d4bf2a68bd167cb5850a03105b9f4ca19f90e (patch) | |
tree | f470a9254f16f20cee1c91e2af029949b4fa9e4e /lib/keyringer/actions/shell | |
parent | e5659e2ba6be675f2f8383e0264bde8968a869d0 (diff) | |
parent | bfb19958de60135f98deec6089cd291b43ba9d9c (diff) | |
download | keyringer-dc7d4bf2a68bd167cb5850a03105b9f4ca19f90e.tar.gz keyringer-dc7d4bf2a68bd167cb5850a03105b9f4ca19f90e.tar.bz2 |
Merge branch 'develop'
Diffstat (limited to 'lib/keyringer/actions/shell')
-rwxr-xr-x | lib/keyringer/actions/shell | 2 |
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 |