How to set atom editor to main editor
6,677
You can set the EDITOR variable as follows in Terminal
export EDITOR="/usr/bin/atom"
If you want that as a permanent setting consider adding it to your ~/.bashrc
and reload the updated .bashrc
via source ~/.bashrc.
Related videos on Youtube
Author by
Sadık Ekin Özbay
Updated on September 18, 2022Comments
-
Sadık Ekin Özbay over 1 year
i have been searching about this topic. But i can find it. I want to set atom to my
$EDITOR
on the terminal.I triednikola new_post -e
on the terminal. But i am keep getting this errorERROR: new_post: $EDITOR not set, cannot edit the post.