diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-01-30 15:01:25 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-01-30 15:01:25 -0200 |
commit | efd2b4887d30fb9163bb14dffe8312e4a2097b2a (patch) | |
tree | 247cfaa26950d8579abd86a4502ca08d4862cbe8 /lib/keyringer/actions/shell | |
parent | a5e39bf904e83989b763f001a29adb9053df60f2 (diff) | |
parent | bfb19958de60135f98deec6089cd291b43ba9d9c (diff) | |
download | keyringer-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-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 |