Add editor choice feature
This commit is contained in:
parent
5e1bad50b7
commit
1cb47e8c63
1 changed files with 1 additions and 4 deletions
5
archfi
5
archfi
|
@ -125,10 +125,7 @@ chooseeditor(){
|
||||||
"${options[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
clear
|
EDITOR=$sel
|
||||||
echo "export EDITOR=$sel"
|
|
||||||
export EDITOR=$sel
|
|
||||||
pressanykey
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue