diff options
| -rw-r--r-- | kshrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -124,7 +124,7 @@ _set_editor() { } set_editor() { - for editor in vim vi ed ; do + for editor in nvim vim vi ed ; do unalias "$editor" >/dev/null 2>&1 e="$(command -v "$editor")" if [ -n "$e" ] && [ -x "$e" ] ; then @@ -309,6 +309,11 @@ timestamp() { date +%m.%d.%y_%H.%M.%S } +sshSetAskpass() { + export SSH_ASKPASS="$1" + export SSH_ASKPASS_REQUIRE=force +} + #shellcheck disable=SC2120 checkSSHAgent() { if [ "$1" = "-k" ] ; then |
