So I'm on my first day at my new job, and on the server we use, the default emacs is X-windows based. I much prefer using it in the good old terminal, and I'd like to be able to make the command emacs foo.txt
be read as emacs --no-window-system foo.txt
.
I tried to do this by adding the line function emacs() { emacs --no-window-system "$@" ;}
to my ~/.profile
, and then ran source ~/.profile
, but the system is unresponsive to emacs foo.txt
.
Am I doing this wrong? As an alternative, I would like to know if what I want to do is completely backwards, and it turns out that there is a far simpler solution.