Sample Header Ad - 728x90

Changing default editor for markdown bash_profile

1 vote
1 answer
171 views
I am pretty new to bash/zsh on Mac OX. I am trying to change my .bash_profile so that that all markdowns are opened with sublime when I enter open [filename].md in terminal. I have created synthetic link to the binary and opening with subl [filname].md works just great but when I try to add export EDITOR=subl it does not work so I am assuming I am doing something wrong here. I do not have a .bashrc. Can someone help me?
Asked by Sabina Brunswicker (11 rep)
Sep 9, 2023, 04:45 AM
Last activity: Sep 9, 2023, 07:01 PM