fix: Properly evaluate $XDG_CONFIG_HOME in rc.conf (#555)
This commit is contained in:
parent
fa0deff9a5
commit
aca8e7302b
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,6 @@ set column_ratios 1,3,4
|
||||||
set hidden_filter ^\.|\.(?:pyc|vrb|pyo|lof|bak|swp|aux|log|nav|out|snm|toc|bcf|run\.xml|synctex\.gz|blg|bbl)$|^lost\+found$|^__(py)?cache__$
|
set hidden_filter ^\.|\.(?:pyc|vrb|pyo|lof|bak|swp|aux|log|nav|out|snm|toc|bcf|run\.xml|synctex\.gz|blg|bbl)$|^lost\+found$|^__(py)?cache__$
|
||||||
set show_hidden false
|
set show_hidden false
|
||||||
set confirm_on_delete multiple
|
set confirm_on_delete multiple
|
||||||
set preview_script ${XDG_CONFIG_HOME:-$HOME/.config}/ranger/scope.sh
|
|
||||||
set use_preview_script true
|
set use_preview_script true
|
||||||
set automatically_count_files true
|
set automatically_count_files true
|
||||||
set open_all_images true
|
set open_all_images true
|
||||||
|
@ -505,4 +504,5 @@ map Tn eval fm.open_console('shell eyeD3 -n "" ' + fm.thisfile.relative_path, po
|
||||||
#Downloading
|
#Downloading
|
||||||
map ytv console shell youtube-dl -ic%space
|
map ytv console shell youtube-dl -ic%space
|
||||||
map yta console shell youtube-dl -xic%space
|
map yta console shell youtube-dl -xic%space
|
||||||
source ${XDG_CONFIG_HOME:-$HOME/.config}/ranger/shortcuts.conf
|
|
||||||
|
eval cmd('source ' + fm.confpath('shortcuts.conf'))
|
||||||
|
|
Loading…
Reference in a new issue