aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archlinux.pkgs3
-rw-r--r--archlinux.pkgs.d/ranger10
-rw-r--r--shellrc4
3 files changed, 17 insertions, 0 deletions
diff --git a/archlinux.pkgs b/archlinux.pkgs
index 64e3838..577b967 100644
--- a/archlinux.pkgs
+++ b/archlinux.pkgs
@@ -24,6 +24,9 @@ bc
pv
sysstat
+dnl We want ranger everywhere
+include(ranger)
+
dnl System stuff
dhcpcd-openrc
fuse-openrc
diff --git a/archlinux.pkgs.d/ranger b/archlinux.pkgs.d/ranger
new file mode 100644
index 0000000..2de9219
--- /dev/null
+++ b/archlinux.pkgs.d/ranger
@@ -0,0 +1,10 @@
+dnl vim:ft=m4
+dnl Prety good files browser
+ranger
+
+dnl Optional dependencies
+atool
+highlight
+mediainfo
+perl-image-exiftool
+w3m
diff --git a/shellrc b/shellrc
index f1bc6fe..62bd2f1 100644
--- a/shellrc
+++ b/shellrc
@@ -31,6 +31,10 @@ export LESS_TERMCAP_us=$'\E[1;32m'
alias gst='git status'
alias v='vim'
alias i='i3-msg'
+alias ra='ranger'
+
+# Do not load system configuration for ranger (use only user one)
+export RANGER_LOAD_DEFAULT_RC=FALSE
# Systemd aliases if we are running systemd
if pidof systemd >/dev/null 2>/dev/null; then