211 |
'eshell-dirs-substitute-cd) |
'eshell-dirs-substitute-cd) |
212 |
eshell-interpreter-alist))) |
eshell-interpreter-alist))) |
213 |
|
|
|
(make-local-hook 'eshell-parse-argument-hook) |
|
214 |
(add-hook 'eshell-parse-argument-hook |
(add-hook 'eshell-parse-argument-hook |
215 |
'eshell-parse-user-reference nil t) |
'eshell-parse-user-reference nil t) |
216 |
(if (eshell-under-windows-p) |
(if (eshell-under-windows-p) |
218 |
'eshell-parse-drive-letter nil t)) |
'eshell-parse-drive-letter nil t)) |
219 |
|
|
220 |
(when (eshell-using-module 'eshell-cmpl) |
(when (eshell-using-module 'eshell-cmpl) |
|
(make-local-hook 'pcomplete-try-first-hook) |
|
221 |
(add-hook 'pcomplete-try-first-hook |
(add-hook 'pcomplete-try-first-hook |
222 |
'eshell-complete-user-reference nil t)) |
'eshell-complete-user-reference nil t)) |
223 |
|
|
229 |
(unless eshell-last-dir-ring |
(unless eshell-last-dir-ring |
230 |
(setq eshell-last-dir-ring (make-ring eshell-last-dir-ring-size))) |
(setq eshell-last-dir-ring (make-ring eshell-last-dir-ring-size))) |
231 |
|
|
|
(make-local-hook 'eshell-exit-hook) |
|
232 |
(add-hook 'eshell-exit-hook 'eshell-write-last-dir-ring nil t) |
(add-hook 'eshell-exit-hook 'eshell-write-last-dir-ring nil t) |
233 |
|
|
234 |
(add-hook 'kill-emacs-hook 'eshell-save-some-last-dir)) |
(add-hook 'kill-emacs-hook 'eshell-save-some-last-dir)) |