]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Adds history support at shell action
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 17 Jun 2018 00:23:35 +0000 (21:23 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 17 Jun 2018 00:23:35 +0000 (21:23 -0300)
ChangeLog
lib/keyringer/actions/shell

index 1d0b4e69f448b8d85585c495b33476d22277829f..16722362ee0fadf28e7ffed21d1d506e66aa1532 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
 
index 3b98d6844ac4b5a9eff9f5a3f2cee827989e9b57..d87a6387f3482a28467e21b3b6772acd76276334 100755 (executable)
@@ -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