Pārlūkot izejas kodu

Fix some prefs for darwin environment

pull/15/head
10sr pirms 9 gadiem
vecāks
revīzija
0aa00bf691
2 mainītis faili ar 13 papildinājumiem un 3 dzēšanām
  1. +6
    -2
      emacs.el
  2. +7
    -1
      shrc

+ 6
- 2
emacs.el Parādīt failu

@@ -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 Parādīt failu

@@ -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"


Notiek ielāde…
Atcelt
Saglabāt