mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-02 08:22:22 +00:00
term.el: Use correct exit status in suggested dir-tracking functions
* lisp/term.el: Make some of the examples better (bug#43055).
This commit is contained in:
parent
6d84853de8
commit
fa3959f5cb
@ -241,9 +241,9 @@
|
||||
;; printf '\033AnSiTu %s\n' "$USER"
|
||||
;; printf '\033AnSiTc %s\n' "$PWD"
|
||||
;;
|
||||
;; cd() { command cd "$@"; printf '\033AnSiTc %s\n' "$PWD"; }
|
||||
;; pushd() { command pushd "$@"; printf '\033AnSiTc %s\n' "$PWD"; }
|
||||
;; popd() { command popd "$@"; printf '\033AnSiTc %s\n' "$PWD"; }
|
||||
;; cd() { command cd "$@" && printf '\033AnSiTc %s\n' "$PWD"; }
|
||||
;; pushd() { command pushd "$@" && printf '\033AnSiTc %s\n' "$PWD"; }
|
||||
;; popd() { command popd "$@" && printf '\033AnSiTc %s\n' "$PWD"; }
|
||||
;;
|
||||
;; # Use custom dircolors in term buffers.
|
||||
;; # eval $(dircolors $HOME/.emacs_dircolors)
|
||||
|
Loading…
Reference in New Issue
Block a user