qemush : manière POSIX d'initialiser une variable si elle est vide

This commit is contained in:
Ahurac 2024-03-24 22:46:25 +01:00
parent 0da83df0a0
commit 11fa69c866

View file

@ -6,7 +6,9 @@
# Environment
PATH="${HOME}/launchers:${HOME}/bin:${PATH}"
EDITOR="${EDITOR:-nvim}"
# I don't even know why shellcheck gives me this warning
# shellcheck disable=2209
[ -z "$EDITOR" ] && EDITOR=vi
export QEMUSH_NAME
# Aliases