Skip to main content
10 events
when toggle format what by license comment
S Nov 22, 2011 at 14:26 history suggested Jari Keinänen CC BY-SA 3.0
made image inline
Nov 22, 2011 at 14:11 review Suggested edits
S Nov 22, 2011 at 14:26
Aug 12, 2011 at 0:52 comment added Chris Page You could also arrange to clear the working directory URL specifically when starting an ssh connection. You could use an alias or a shell function to invoke ssh and send the appropriate escape sequence before starting ssh.
Aug 12, 2011 at 0:50 comment added Chris Page For su, if the other user is also using bash or has set up their shell to set the working directory at each prompt (this is performed by default for bash via /etc/bashrc) the location should be correct, since it's always an absolute "file:" URL. While it's true that if you ssh to a host that isn't configured to update the working directory the value becomes stale while in that ssh session, if you set up the remote host's shell the same way it will keep the value up to date, and Terminal won't treat it as a local path if the URL names the remote host.
Aug 11, 2011 at 23:45 comment added Aliou Aesthetics, really. I really didn't like having the folder in the prompt and in the title bar. Furthermore, if you are connected as another user (i.e. with su or ssh), the title bar shows your local folder instead of the folder of the user your connected to.
Aug 11, 2011 at 6:56 comment added Chris Page It may be useful to know why you want to disable it. Setting the Terminal working directory enables several useful behaviors, like being able to create a new terminal in the same directory, and restoring the working directory for Resume and Window Groups.
Aug 10, 2011 at 23:52 vote accept Aliou
Aug 10, 2011 at 22:01 answer added zzz timeline score: 7
Aug 10, 2011 at 21:53 answer added olivier timeline score: 0
Aug 10, 2011 at 21:35 history asked Aliou CC BY-SA 3.0