浏览代码

changes for darwin

pull/1/head
10sr 13 年前
父节点
当前提交
0bf5b69147
共有 2 个文件被更改,包括 8 次插入3 次删除
  1. +2
    -1
      .bashrc
  2. +6
    -2
      .emacs.el

+ 2
- 1
.bashrc 查看文件

@@ -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 查看文件

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


正在加载...
取消
保存