Skip to content

Instantly share code, notes, and snippets.

Ricky Medina r-medina

Block or report user

Report or block r-medina

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@r-medina
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`:
You can’t perform that action at this time.