Преглед на файлове

small changes for windows

pull/1/head
10sr преди 13 години
родител
ревизия
bb40ff8eb9
променени са 2 файла, в които са добавени 6 реда и са изтрити 3 реда
  1. +1
    -0
      .bashrc
  2. +5
    -3
      .emacs.el

+ 1
- 0
.bashrc Целия файл

@@ -325,6 +325,7 @@ if iscygwin; then
alias cygsu="cygstart /cygwinsetup.exe"
alias emacs="CYGWIN=tty emacs"
echo "cygwin bash"
export PS1=" [\[\e[33m\]\w\[\e[0m\]]\n\[\e[32m\]\u@\H\[\e[0m\] \d \t \s.\v\nhist:\# jobs:\j \$ "
fi

#######################


+ 5
- 3
.emacs.el Целия файл

@@ -1680,8 +1680,10 @@ when SEC is nil, stop auto save if enabled."
(defun my-execute-terminal ()
""
(interactive)
(if (and window-system
(not (eq window-system 'w32)))
(if (and (or (eq system-type 'windows-nt)
window-system)
my-desktop-terminal
)
(let ((process-environment (cons "TERM=xterm" process-environment)))
(start-process "terminal"
nil
@@ -1691,7 +1693,7 @@ when SEC is nil, stop auto save if enabled."
(defun my-term ()
""
(interactive)
(if (eq window-system 'w32)
(if (eq system-type 'windows-nt)
(eshell t)
(if (featurep 'multi-term)
(multi-term)


Зареждане…
Отказ
Запис