Przeglądaj źródła

Fix some prefs for darwin environment

pull/15/head
10sr 9 lat temu
rodzic
commit
0aa00bf691
2 zmienionych plików z 13 dodań i 3 usunięć
  1. +6
    -2
      emacs.el
  2. +7
    -1
      shrc

+ 6
- 2
emacs.el Wyświetl plik

@@ -942,8 +942,12 @@ IF OK-IF-ALREADY-EXISTS is true force download."
(number-to-string (emacs-pid))))

;; In Cygwin Environment `server-runnning-p' stops when server-use-tcp is nil
(when (eq system-type
'cygwin)
;; In Darwin environment, init fails with message like 'Service name too long'
;; when server-use-tcp is nil
(when (or (eq system-type
'cygwin)
(eq system-type
'darwin))
(setq server-use-tcp t))

(defun my-construct-emacsclient-editor-command ()


+ 7
- 1
shrc Wyświetl plik

@@ -613,7 +613,13 @@ __realpath(){
fi
}

__safe_alias tmux='env -u SHLVL tmux'
if $isdarwin
then
# I want to use env -u, but darwin env does not provide this option
__safe_alias tmux='SHLVL= tmux'
else
__safe_alias tmux='env -u SHLVL tmux'
fi
tx(){
tmux start-server
if test -z "$1"


Ładowanie…
Anuluj
Zapisz