akhayyat/dotfiles

zsh: support broot if installed

Commit 74e1402b271c · Ahmad Khayyat · 2021-01-15 23:03 +0300

Changeset
74e1402b271cbb0a93defa1acd766cb9b71137a1

View source at this commit

Comments

No comments yet.

Log in to comment

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