aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-01-07 13:35:38 +0100
committerKarel Kočí <cynerd@email.cz>2017-01-07 13:35:38 +0100
commit4614b7e1ea052fad3cf8a25b6d84e5ea32caccee (patch)
treecb00bded920dd8beeb76da586e90c37538b488c3
parent16dd1fffccbc9d5ba2d95219de785538994e3f85 (diff)
downloadmyconfigs-4614b7e1ea052fad3cf8a25b6d84e5ea32caccee.tar.gz
myconfigs-4614b7e1ea052fad3cf8a25b6d84e5ea32caccee.tar.bz2
myconfigs-4614b7e1ea052fad3cf8a25b6d84e5ea32caccee.zip
Add ranger
-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