diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-16 21:23:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-16 21:23:35 -0300 |
commit | 7fbe371049472b766fd2ee3306072c9c4e0aaf07 (patch) | |
tree | 9c4200f379e384e237121528bcfb9bdbc42cfbb3 | |
parent | a62bb9bb190df115327d85e0f24b418ee10f4785 (diff) | |
download | keyringer-7fbe371049472b766fd2ee3306072c9c4e0aaf07.tar.gz keyringer-7fbe371049472b766fd2ee3306072c9c4e0aaf07.tar.bz2 |
Adds history support at shell action
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | lib/keyringer/actions/shell | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,6 @@ -2010-06-06 - unreleased - Silvio Rhatto <rhatto@riseup.net> +2010-06-16 - unreleased - Silvio Rhatto <rhatto@riseup.net> + + Adds history support at shell action Fix passphrase entry at genpairs when exporting secret keys 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 |