server: Stop using chdir and readlink
They really don't work, and may hang the process (see bug #622180). Instead, rely on the shell to keep the terminal updated about the current directory via vte's new current-directory-uri property that can be updated via the OSC 7 ; URI BEL escape sequence. Vte helpfully installs a script to /etc/profile.d that works via the shell prompt. Just put this in your ~/.bashrc: export PS1='\[$(__vte_ps1)\]'$PS1 https://bugzilla.gnome.org/show_bug.cgi?id=622180 https://bugzilla.gnome.org/show_bug.cgi?id=675987
parent
49801559
Please register or sign in to comment