I'm trying to achieve what was described in the title. I followed these directions (http://sourceforge.net/p/vifm/feature-requests/24/) but they did not work. Here are the instructions I followed:
- Add special command to vifmrc command Q :execute '!echo %d > ~/.vifm/lastdir' | quit
- Add an alias to .bashrc alias vifm='source ~/bin/vf'
- Save the following script to ~/bin/vf if [ -f ~/.vifm/lastdir ]; then rm ~/.vifm/lastdir fi /usr/local/bin/vifm "$@" if [ -f ~/.vifm/lastdir ]; then cd cat ~/.vifm/lastdir fi
I'm most skeptical of (3). I had to create a "bin" folder in my home directory, and then create a "vf" file within the new "bin" to then place the text described in (3). Did I proceed correctly here?