akhayyat/dotfiles
zsh: support broot if installed
Commit 74e1402b271c · Ahmad Khayyat · 2021-01-15 23:03 +0300
Comments
No comments yet.
Diff
diff --git a/zsh/programs.zsh b/zsh/programs.zsh
--- a/zsh/programs.zsh
+++ b/zsh/programs.zsh
@@ -66,3 +66,8 @@
export LESSOPEN='| /usr/bin/env lesspipe %s 2>&-'
alias pless='LESSOPEN="| /usr/share/source-highlight/src-hilite-lesspipe.sh %s" less '
fi
+
+# broot: directory tree navigator
+if [ -r ~/.config/broot/launcher/bash/br ]; then
+ source ~/.config/broot/launcher/bash/br
+fi