diff options
-rw-r--r-- | .config/git/config | 2 | ||||
-rwxr-xr-x | .local/bin/emcl | 2 | ||||
-rw-r--r-- | .profile | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/.config/git/config b/.config/git/config index 639b262..e9f8388 100644 --- a/.config/git/config +++ b/.config/git/config @@ -11,7 +11,7 @@ [core] # autocrlf = input # CRLF -> LF on commit - editor = vim + # editor = emacsclient -t pager = less [mailmap] diff --git a/.local/bin/emcl b/.local/bin/emcl index b0f2de2..c01932b 100755 --- a/.local/bin/emcl +++ b/.local/bin/emcl @@ -1,2 +1,2 @@ #!/bin/sh -exec emacsclient --alternate-editor="" -c "$@" +exec emacsclient -t -c "$@" @@ -13,7 +13,8 @@ if [ -f "$HOME/.config/$(hostname).profile" ]; then . "$HOME/.config/$(hostname).profile" fi -export EDITOR=vim +export EDITOR=vi +export VISUAL=emcl export GPG_TTY=$(tty) PATH="$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin:$PATH" |