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[@]}" \
|
||||
3>&1 1>&2 2>&3)
|
||||
if [ "$?" = "0" ]; then
|
||||
clear
|
||||
echo "export EDITOR=$sel"
|
||||
export EDITOR=$sel
|
||||
pressanykey
|
||||
EDITOR=$sel
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue