bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19524: 24.4; term.el directory tracking documentation


From: Noam Postavsky
Subject: bug#19524: 24.4; term.el directory tracking documentation
Date: Thu, 25 Jul 2019 18:38:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux)

tags 19524 fixed
close 19524 26.3
quit

Aaron Paden <aaronbpaden@gmail.com> writes:

> The method documented in term.el for tracking your directory doesn't
> work or doesn't work for all cases. This is actually a problem I
> stumbled on some time ago, but I was reminded of it recently after
> trying out fish shell. See:
>
> http://unix.stackexchange.com/questions/70764/get-zsh-to-report-directory-t=o-emacs
>
> The method I found that worked was actually derived from the bash source
> code, and is much simpler Here is an example function for fish shell:
>
> function cd
>     builtin cd $argv
>     if test $TERM = eterm -o $TERM = eterm-color
>         echo \032/(pwd) #IMPORTANT
>     end
> end
>
> I don't need to tell emacs my user or hostname. Actually — doing so
> results in tramp errors. Also, the escape used is different than what is
> documented.

I've updated the term.el commentary in emacs-26.

7f42277b96 2019-07-25T18:23:55-04:00 "Mention term.el's \032 dir tracking in 
commentary (Bug#19524)"
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=7f42277b96130861967de3936defb0ef5bf07fbb






reply via email to

[Prev in Thread] Current Thread [Next in Thread]