aboutsummaryrefslogtreecommitdiff
path: root/kshrc
diff options
context:
space:
mode:
Diffstat (limited to 'kshrc')
-rw-r--r--kshrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/kshrc b/kshrc
index 2cfcfcf..03be252 100644
--- a/kshrc
+++ b/kshrc
@@ -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