replace tree with tre

This commit is contained in:
Lillian Violet 2024-04-29 23:30:16 +02:00
parent 728cc4cf61
commit 99fe8a3974
2 changed files with 4 additions and 2 deletions

View file

@ -17,6 +17,7 @@
code = "codium ./"; code = "codium ./";
lh = "ls -lah"; lh = "ls -lah";
cat = "bat"; cat = "bat";
tree = "tre";
}; };
plugins = [ plugins = [
{ {
@ -49,9 +50,10 @@
"z" "z"
]; ];
}; };
# stuff for zoxide # stuff for zoxide & tre
initExtra = '' initExtra = ''
eval "$(zoxide init --cmd cd zsh)" eval "$(zoxide init --cmd cd zsh)"
tre() { command tre "$@" -e && source "/tmp/tre_aliases_$USER" 2>/dev/null; }
''; '';
}; };
} }

View file

@ -36,7 +36,7 @@
neofetch neofetch
oh-my-zsh oh-my-zsh
rsync rsync
tree tre-command
wget wget
zsh zsh
tldr tldr