diff options
author | Karel Kočí <cynerd@email.cz> | 2017-01-07 15:29:28 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-01-07 15:29:28 +0100 |
commit | 86874438bcb36c27d5519e5d3bc449f4b45698c2 (patch) | |
tree | 17423b9a56a5d1f99e68a0575e52c8f7af4b9feb /shellrc | |
parent | ae379e5e4b2a9d08f221e0d8742537a6f60ad19f (diff) | |
download | myconfigs-86874438bcb36c27d5519e5d3bc449f4b45698c2.tar.gz myconfigs-86874438bcb36c27d5519e5d3bc449f4b45698c2.tar.bz2 myconfigs-86874438bcb36c27d5519e5d3bc449f4b45698c2.zip |
Some more ranger settings
Diffstat (limited to 'shellrc')
-rw-r--r-- | shellrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -33,6 +33,14 @@ alias v='vim' alias i='i3-msg' alias ra='ranger' +# ranger alias with nesting control +rg() { + if [ -z "$RANGER_LEVEL" ]; then + ranger + else + exit + fi +} # Do not load system configuration for ranger (use only user one) export RANGER_LOAD_DEFAULT_RC=FALSE |