diff options
Diffstat (limited to 'kshrc')
| -rw-r--r-- | kshrc | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -663,9 +663,13 @@ elif [ -n "$KSH_VERSION" ] ; then set -o emacs #shellcheck disable=SC2155 - set -A complete_pass -- show find otp grep insert edit generate rm mv cp \ + [ -r ~/.password-store ] && \ + set -A complete_pass -- show find otp grep insert edit generate \ + rm mv cp \ $(showPasswordStore ~/.password-store) - set -A complete_ssh -- -L -D -A -X $(showsshhosts | awk '{print $1}') + [ -r ~/.ssh/config ] && \ + set -A complete_ssh -- -L -D -A -X \ + $(showsshhosts | awk '{print $1}') # if you want PWD # export PS1='\u@\h \$PWD \$ ' |
