]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Use git based arbol
authorRuben Beltran del Rio <redacted>
Mon, 17 Feb 2025 09:38:39 +0000 (10:38 +0100)
committerRuben Beltran del Rio <redacted>
Mon, 17 Feb 2025 09:38:39 +0000 (10:38 +0100)
runcoms/zshrc
zsh/modules/aliases.zsh

index d0bf0c66287bb4e648f10b92c66ca5adbe4fc16a..1c4325e06b6b33bd7a29d410867f6100b4eec101 100644 (file)
@@ -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
index 0ff13f2d873f5b76764caa7d9c65604d80a84047..d0b98f3c20796d54265622e08bdb2ab56031e10b 100644 (file)
@@ -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"