ensure there is always an $EDITOR set
It could occur that a user does not have an $EDITOR set when logging in via SSH. Signed-off-by: Stacy Harper <contact@stacyharper.net>
This commit is contained in:
parent
eb34a970cb
commit
88a5079072
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ export CONTACTFILE="$XDG_CONFIG_HOME/sxmo/contacts.tsv"
|
|||
export MODEMSTATEFILE="$XDG_RUNTIME_DIR/sxmo.modem.state"
|
||||
|
||||
command -v "$KEYBOARD" > /dev/null || export KEYBOARD=svkbd-mobile-intl
|
||||
command -v "$EDITOR" > /dev/null || export EDITOR=vis
|
||||
|
||||
# This script ensures all sxmo scripts are using the busybox version of
|
||||
# certain coreutils rather than any other version that may be installed on the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue