From 3b72e59529a879e8230ecc26d1ea0c83de79ccf4 Mon Sep 17 00:00:00 2001 From: alvinlollo <143326475+alvinlollo@users.noreply.github.com> Date: Sat, 20 Jun 2026 23:47:25 +1000 Subject: [PATCH] Remove tree function from .zshrc change exec with Sudo into alt+S Removed the tree function from .zshrc configuration. --- configs/.zshrc | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/configs/.zshrc b/configs/.zshrc index 68b0caf..47c82a4 100644 --- a/configs/.zshrc +++ b/configs/.zshrc @@ -152,14 +152,6 @@ update () { omz update } -tree () { - if [ "$1" >/dev/null ]; then - eza --tree --git --no-time --no-permissions --level $1 - else - eza --tree --git --no-time --no-permissions - fi -} - # Sudo last command with control + u zle -N sudo-last-command-execute @@ -169,8 +161,8 @@ sudo-last-command-execute() { } -# Bind the widget to Control+U -bindkey '^U' sudo-last-command-execute +# Bind the widget to Alt+S +bindkey '^[S' sudo-last-command-execute # Ydotool if [[ -f "/tmp/.ydotool_socket" ]]; then