Update fzf location
[dotfiles] / .bash_emacs
1 #!/bin/sh
2 # -*- coding:utf-8 -*-
3
4 start_emacs_server="emacs --daemon &"
5
6 # retrieve running instances of emacs server, if none, start one
7 [[ -z $(my_emacs_servers) ]] && $start_emacs_server > /dev/null 2>&1
8
9 export ALTERNATE_EDITOR=emacs
10 export EDITOR=emacsclient
11 export VISUAL="emacs -nw"
12 export PSQL_EDITOR="emacsclient --eval \"(setq-default major-mode 'sql-mode)\"; emacsclient"