https://bugs.kde.org/show_bug.cgi?id=214547

Pavol Harar <pavol.ha...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pavol.ha...@gmail.com

--- Comment #40 from Pavol Harar <pavol.ha...@gmail.com> ---
Since there seems not to be any activity for 4 years I would like to help other
users who stumble upon this bug with a dirty fix by Michael Wiebusch which
works for me on Ubuntu 20.04. I found it on his blog from 2016 here:
https://acidbourbon.wordpress.com/2016/12/03/a-quick-and-dirty-fix-for-yakuakes-open-new-tab-in-same-directory-issue/.
 


>From the blog:
----------------

You simply append the following code to your /home/$USER/.bashrc

```
if [ $(basename "/"$(ps -f -p $(cat /proc/$(echo $$)/stat | cut -d \  -f 4) |
tail -1 | sed 's/^.* //')) == "yakuake" ]; then
# go to last active cwd
  if [ -e /dev/shm/$USER-yakuake-cwd ]; then
    cd "$(cat /dev/shm/$USER-yakuake-cwd)"
  fi
# on each stroke of the return key, save cwd in a shared memory
  export PS1=$PS1'$(pwd > /dev/shm/$USER-yakuake-cwd)'
fi
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to