Hacker News new | ask | show | jobs
by anothertraveler 3136 days ago
echo "export EDITOR=nano" >> ~/.bashrc
1 comments

    sed -i s,^EDITOR=nano$,EDITOR=vim ~/.bashrc
sed: -e expression #1, char 26: unterminated `s' command
Good catch. Forgot a comma at the end.