Fixed errors with some of the possible editor configurations.
This commit is contained in:
parent
ef7862a5d9
commit
ce1063a722
@ -216,9 +216,10 @@ EOF
|
||||
fi
|
||||
# Try to handle special cases like with ne and nano skipping headers and line wrapping.
|
||||
case "$i" in
|
||||
"nano") echo "set editor=$i +7 -r 72" > "$muttHome/muttrc";;
|
||||
"ne") echo "set editor=$i +7" > "$muttHome/muttrc";;
|
||||
*) echo "set editor=$i +7" > "$muttHome/muttrc";;
|
||||
"nano") echo "set editor = '$i +7 -r 72'" > "$muttHome/muttrc";;
|
||||
"ne") echo "set editor = '$i +7'" > "$muttHome/muttrc";;
|
||||
"vim") echo "set editor = \"vim -c 'set spell spelllang=${LANG::2}'\"" > "$muttHome/muttrc";;
|
||||
*) echo "set editor = '$i'" > "$muttHome/muttrc";;
|
||||
esac
|
||||
echo "set text_flowed=yes" >> "$muttHome/muttrc"
|
||||
# I need to figure out a way to detect and set the language for the next setting.
|
||||
|
Loading…
x
Reference in New Issue
Block a user