|
|
@ -208,13 +208,13 @@ vicd() { #noindex |
|
|
|
|
|
|
|
|
|
|
|
function vifm() { #noindex |
|
|
|
function vifm() { #noindex |
|
|
|
if [ -f ~/.vifm/lastdir ]; then |
|
|
|
if [ -f ~/.vifm/lastdir ]; then |
|
|
|
\rm ~/.vifm/lastdir |
|
|
|
\rm ~/.config/.vifm/lastdir |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# "command" prevents recursive call |
|
|
|
# "command" prevents recursive call |
|
|
|
TERM=xterm-256color command vifm . |
|
|
|
TERM=xterm-256color command vifm . |
|
|
|
if [ -f ~/.vifm/lastdir ]; then |
|
|
|
if [ -f ~/.config/.vifm/lastdir ]; then |
|
|
|
cd "`cat ~/.vifm/lastdir`" |
|
|
|
cd "`cat ~/.config/.vifm/lastdir`" |
|
|
|
fi |
|
|
|
fi |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|