diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-12-10 17:36:04 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-12-10 17:36:04 -0200 |
commit | f58aac98a069c694d2a5791eb96a7554af6b798f (patch) | |
tree | 37ee0688128fa464fc8a97cb326c3f94bd86777a /lib | |
parent | 47ea7016dc8e5cd8dff3603243aa95fa5f31dbff (diff) | |
download | keyringer-f58aac98a069c694d2a5791eb96a7554af6b798f.tar.gz keyringer-f58aac98a069c694d2a5791eb96a7554af6b798f.tar.bz2 |
Run shell by default (#34)
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/keyringer/actions/shell | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/keyringer/actions/shell b/lib/keyringer/actions/shell index 955dfe8..ab170b1 100755 --- a/lib/keyringer/actions/shell +++ b/lib/keyringer/actions/shell @@ -10,6 +10,9 @@ source "$LIB" || exit 1 # Basic parameters SHELLPATH="/" +# Show usage +keyringer_usage $KEYRING + # While a "quit" command isn't entered, read STDIN while read -rep "keyringer:/${KEYRING}${SHELLPATH}> " STDIN; do if [ "$STDIN" == "quit" ] || [ "$STDIN" == "exit" ] || [ "$STDIN" == "bye" ]; then |