summaryrefslogtreecommitdiff
path: root/Scripts/openInRanger.sh
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2018-12-20 17:50:16 +0100
committerJulian T <julian@jtle.dk>2018-12-20 17:50:16 +0100
commitb9337a198bc97ab03f5465b0eed3dd4ce1f93256 (patch)
tree2a6763c70d680139bf5cb26d6f5b9ac656df7373 /Scripts/openInRanger.sh
parentffd3d31e6123aa6d04915f5ed7af77104a6401c6 (diff)
Added open in ranger script
Diffstat (limited to 'Scripts/openInRanger.sh')
-rwxr-xr-xScripts/openInRanger.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/Scripts/openInRanger.sh b/Scripts/openInRanger.sh
new file mode 100755
index 0000000..84ce5fd
--- /dev/null
+++ b/Scripts/openInRanger.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+$TERM -e "ranger $( echo ~/*/ | sed "s/ /\n/g" | cat .bookmarks - | dmenu -p Dir -l 10 | sed "s:~:${HOME}:")"