From c908860c1db3b24d1105de36deafbe310c24fece Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 23 Jul 2014 21:19:57 -0700 Subject: [PATCH] Made it so that the xemacs alias backgrounds properly. --- dotfiles/lib/shellrc/aliases.sh | 4 ++-- dotfiles/xinitrc | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 dotfiles/xinitrc diff --git a/dotfiles/lib/shellrc/aliases.sh b/dotfiles/lib/shellrc/aliases.sh index 1a1f270e..7eb57569 100644 --- a/dotfiles/lib/shellrc/aliases.sh +++ b/dotfiles/lib/shellrc/aliases.sh @@ -1,5 +1,5 @@ alias emacs="emacsclient -t" -alias xemacs="emacsclient -c &" +alias xemacs="\emacs --daemon > /dev/null 2&> /dev/null; emacsclient -c &" alias tmux="tmux -2" alias tmux_cb_to_remote_cb='tmux saveb - | linux_nc_paste_to_remote_clipboard' alias timestamp='date +%s' @@ -21,7 +21,7 @@ alias ls="command ls ${colorflag}" # IP addresses alias ip="dig +short myip.opendns.com @resolver1.opendns.com" -alias localip="ifconfig en0" +alias localip="ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'" alias whois="whois -h whois-servers.net" diff --git a/dotfiles/xinitrc b/dotfiles/xinitrc deleted file mode 100644 index 56b40831..00000000 --- a/dotfiles/xinitrc +++ /dev/null @@ -1 +0,0 @@ -source ~/.zshrc && xmodmap ~/.Xmodmap