Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
anothertraveler
· 9y ago · 0 comments
echo "export EDITOR=nano" >> ~/.bashrc
Comments
[–]
thomastjeffery
9y ago
sed -i s,^EDITOR=nano$,EDITOR=vim ~/.bashrc
[–]
jwilk
9y ago
sed: -e expression #1, char 26: unterminated `s' command
[–]
thomastjeffery
9y ago
Good catch. Forgot a comma at the end.