From e5d39817989d6f7eb8357939d3e54201f359a800 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 11 Dec 2014 16:20:12 -0800 Subject: [PATCH] One last fix for git editor (editor.sh return 0) Conflicts: resources/add_emacs.d_aliases.sh --- dotfiles/lib/editor.sh | 1 + resources/add_emacs.d_aliases.sh | 4 ++++ 2 files changed, 5 insertions(+) create mode 100755 resources/add_emacs.d_aliases.sh diff --git a/dotfiles/lib/editor.sh b/dotfiles/lib/editor.sh index fac0e444..e588e675 100755 --- a/dotfiles/lib/editor.sh +++ b/dotfiles/lib/editor.sh @@ -1,2 +1,3 @@ #!/usr/bin/env zsh [ -z "$*" ] && emacs || emacs_open "$@" +return 0 diff --git a/resources/add_emacs.d_aliases.sh b/resources/add_emacs.d_aliases.sh new file mode 100755 index 00000000..f50c18bc --- /dev/null +++ b/resources/add_emacs.d_aliases.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env zsh +git config alias.ped "subtree push --prefix=dotfiles/emacs.d emacs.d master" +git config alias.ued "subtree pull --prefix=dotfiles/emacs.d emacs.d master" +git remote add emacs.d git@github.com:IvanMalison/dotfiles.git