summaryrefslogtreecommitdiffstats
path: root/.config/ranger
diff options
context:
space:
mode:
authorJackson Law <178053+jlaw@users.noreply.github.com>2020-04-10 13:39:20 -0700
committerGitHub <noreply@github.com>2020-04-10 16:39:20 -0400
commitaca8e7302b7c9ebeb298fdc764cb61be8eb2e2ca (patch)
tree979a654bf3b9957a59bab7284950732974b0f6be /.config/ranger
parentfa0deff9a5c74ce4b6cd99fa6f5aa8543138ca8b (diff)
downloadeibhear-aca8e7302b7c9ebeb298fdc764cb61be8eb2e2ca.tar.gz
eibhear-aca8e7302b7c9ebeb298fdc764cb61be8eb2e2ca.tar.zst
eibhear-aca8e7302b7c9ebeb298fdc764cb61be8eb2e2ca.zip
fix: Properly evaluate $XDG_CONFIG_HOME in rc.conf (#555)
Diffstat (limited to '.config/ranger')
-rw-r--r--.config/ranger/rc.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf
index ba5ec84..efbb318 100644
--- a/.config/ranger/rc.conf
+++ b/.config/ranger/rc.conf
@@ -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 show_hidden false
set confirm_on_delete multiple
-set preview_script ${XDG_CONFIG_HOME:-$HOME/.config}/ranger/scope.sh
set use_preview_script true
set automatically_count_files 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
map ytv console shell youtube-dl -ic%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'))