Skip to content

Instantly share code, notes, and snippets.


Ricky Medina r-medina

View GitHub Profile
r-medina / gist:0d29407b20de545d1cf8
Last active Aug 29, 2015
emacs stuff in .bashrc
View gist:0d29407b20de545d1cf8
# checks if there is an emacs daemon running: yes - open a client with the file, no -
# start a daemon, open client
# did this because i only use emacs in terminal and dont want
# emacsclient <file_name> to open file in an open frame
# caution: even though all arguments passed via `${@:1}`, `emacsclient` only opens
# one file, unlike `emacs`
# excluding `grep` from `ps`: