Browse Source

vifm: настройки перенесены в ~/.config

Maxim Likhachev 5 years ago
parent
commit
14ac9f8a7d
  1. 6
      etc/shell/bash/aliases

6
etc/shell/bash/aliases

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

Loading…
Cancel
Save