move and introduce new defaults

This commit is contained in:
Jakobus Schürz 2023-01-20 21:51:12 +01:00
parent 7f747743c6
commit ef7b6059ca
3 changed files with 9 additions and 2 deletions

View file

@ -76,8 +76,8 @@ if [[ $- = *i* ]] ; then
[ -z "${P11M:+x}" ] && [ -n "$(whereis p11-kit-proxy.so|awk '{print $2}')" ] && export P11M=$(whereis p11-kit-proxy.so|awk '{print $2}' || { echo "p11-kit-proxy not forwarded by ssh or installed, unset P11M"; unset P11M; })
# Basics
[ -z "${VISUAL+x}" ] && export VISUAL=vim
[ -z "${EDITOR+x}" ] && export EDITOR=vim
[ -z "${VISUAL+x}" ] && export VISUAL=${VISUAL_DEFAULT}
[ -z "${EDITOR+x}" ] && export EDITOR=${EDITOR_DEFAULT}
cat << EOF >> "${MSC_LOGFILE}"
==8<=== start configure new shell ============== $(date) ===============8<==

View file

@ -30,3 +30,6 @@ export TRASHMAIL_HASHED_DEFAULT=true
export SSH_CERT_VALIDITY_WARN_SEC="14 days"
### OTHER STUFF ###
VISUAL_DEFAUTL=vim
EDITOR_DEFAULT=vim

View file

@ -29,3 +29,7 @@ export TRASHMAIL_TARGET_MAIL_DEFAULT=user@example.com
export TRASHMAIL_HASHED_DEFAULT=true
export SSH_CERT_VALIDITY_WARN_SEC="14 days"
### OTHER STUFF ###
VISUAL_DEFAUTL=vim
EDITOR_DEFAULT=vim