use nano as fallback editor

This commit is contained in:
AJ ONeal 2018-06-05 01:02:43 -06:00
父節點 36f73c1051
當前提交 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