From 6e53e16da900a867945c2d78dcd234a86dc43ce5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 17 Jul 2014 08:24:43 -0400 Subject: [PATCH] Noglob git + emacsclient alias --- zsh/aliases | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/zsh/aliases b/zsh/aliases index 602aea06..a7397d48 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -4,6 +4,7 @@ if command_exists 'git'; then # On top of oh-my-zsh's git aliases alias git='noglob git' + alias gc='git commit' alias gs='git status' alias gst='git stash' alias gap='git add -p' @@ -35,19 +36,8 @@ elif is_mac; then fi } - # Open file in emacs daemon (will auto-start it) - function e { - macos=/Applications/Emacs.app/Contents/MacOS - if pgrep -qf 'Emacs.*--daemon'; then - args=-n - else - $macos/Emacs --daemon - args=-nc - fi - echo $args - emacsclient $args "$@" - } - alias es="emacsclient -e '(kill-emacs)'" + # Open file in emacs server + alias e="emacsclient -n" fi # Tmux