From: Ruben Beltran del Rio Date: Mon, 17 Feb 2025 09:38:39 +0000 (+0100) Subject: Use git based arbol X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/5c73175cb924c7608cb803aa1ea2cff4a9a311b8?ds=sidebyside Use git based arbol --- diff --git a/runcoms/zshrc b/runcoms/zshrc index d0bf0c6..1c4325e 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -66,7 +66,6 @@ if [[ -s "/opt/homebrew/bin/brew" ]]; then export PATH=/opt/homebrew/bin:/opt/homebrew/sbin:$PATH export FZF_VIM_PATH=/opt/homebrew/opt/fzf . /opt/homebrew/etc/profile.d/z.sh - . /opt/homebrew/opt/asdf/libexec/asdf.sh else # Z (Linux) if [[ -s "/usr/libexec/z.sh" ]]; then diff --git a/zsh/modules/aliases.zsh b/zsh/modules/aliases.zsh index 0ff13f2..d0b98f3 100644 --- a/zsh/modules/aliases.zsh +++ b/zsh/modules/aliases.zsh @@ -28,4 +28,4 @@ alias gm='git merge' alias gp='git push' # JS friendly tree -alias arbol="tree -I 'node_modules|bower_components|doc|__pycache__|\.pyc'" +alias arbol="git ls-tree -r --name-only HEAD | tree --fromfile"