refactor(eshell): eshell-prompt-regexp
This new default makes eshell-prompt-regexp's consumers a little less susceptible to false positives in garbage/process output and a little more resistant to user changes to eshell-prompt-function. It's also closer to its default value (KISS).
This commit is contained in:
parent
fba1d4005e
commit
e4b1ed5a6a
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ You should use `set-eshell-alias!' to change this.")
|
|||
;; TODO Use `eshell-input-filter-initial-space' when Emacs 25 support is dropped
|
||||
eshell-input-filter (lambda (input) (not (string-match-p "\\`\\s-+" input)))
|
||||
;; em-prompt
|
||||
eshell-prompt-regexp "^.* λ "
|
||||
eshell-prompt-regexp "^[^#$\n]* [#$λ] "
|
||||
eshell-prompt-function #'+eshell-default-prompt-fn
|
||||
;; em-glob
|
||||
eshell-glob-case-insensitive t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue