use nano as fallback editor
This commit is contained in:
parent
36f73c1051
commit
a0c32662a0
|
@ -66,6 +66,9 @@ fi
|
|||
if [ -z "$my_edit" ]; then
|
||||
my_edit=$(basename "$(type -p vi)")
|
||||
fi
|
||||
if [ -z "$my_edit" ]; then
|
||||
my_edit="nano"
|
||||
fi
|
||||
set -e
|
||||
|
||||
if [ "root" == $(whoami) ] || [ 0 == $(id -u) ]; then
|
||||
|
|
Loading…
Reference in New Issue