aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdot.local-bin-emacsclient--cscope2
-rw-r--r--dot.zshenv1
2 files changed, 3 insertions, 0 deletions
diff --git a/dot.local-bin-emacsclient--cscope b/dot.local-bin-emacsclient--cscope
new file mode 100755
index 0000000..8ed71c6
--- /dev/null
+++ b/dot.local-bin-emacsclient--cscope
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec emacsclient -n "$@"
diff --git a/dot.zshenv b/dot.zshenv
index cf991f4..e282c3a 100644
--- a/dot.zshenv
+++ b/dot.zshenv
@@ -5,6 +5,7 @@ export PATH=${PATH/::/:}
export GPG_TTY=$(tty)
export EDITOR=emacsclient
export VISUAL=$EDITOR
+export CSCOPE_EDITOR=emacsclient-cscope
path=(
~/Library/Python/*/bin(/N)
~/.gem/ruby/*/bin(/N)