Explorar el Código

changes for darwin

pull/1/head
10sr hace 13 años
padre
commit
0bf5b69147
Se han modificado 2 ficheros con 8 adiciones y 3 borrados
  1. +2
    -1
      .bashrc
  2. +6
    -2
      .emacs.el

+ 2
- 1
.bashrc Ver fichero

@@ -399,9 +399,10 @@ echo "Japanese letters are 表示可能"

safe-cmd diskinfo

type xrandr >/dev/null 2>&1 && {
isdarwin || type xrandr >/dev/null 2>&1 && {
xrandr | grep --color=never ^Screen
}

iswindows || safe-cmd finger $USER
LANG=C safe-cmd id


+ 6
- 2
.emacs.el Ver fichero

@@ -579,8 +579,9 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; share clipboard with x
(when (or window-system
(when (and window-system
;; (getenv "DESKTOP_SESSION")
(not (eq window-system 'mac))
)
(setq x-select-enable-clipboard t ; these settings seems to be useless when using emacs in terminal
x-select-enable-primary nil)
@@ -1312,7 +1313,10 @@ otherwise, use `pack-default-extension' for pack."
(not (get-buffer-window bf)))
(kill-buffer bf))))

(setq dired-listing-switches "-lhFG --time-style=long-iso")
(if (eq window-system 'mac)
(setq dired-listing-switches "-lhFG")
(setq dired-listing-switches "-lhFG --time-style=long-iso")
)
(define-minor-mode my-dired-display-all-mode
""
:init-value nil


Cargando…
Cancelar
Guardar