From: Alexander Barton Date: Sat, 20 Apr 2024 12:51:25 +0000 (+0200) Subject: iterm2: Don't setup command aliases, we always update the search path X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1aa028a6146bae01713d479bc60d8c445f51940d;p=ax-zsh.git iterm2: Don't setup command aliases, we always update the search path This way all iTerm2 commands are available in child processes, too. --- diff --git a/plugins/iterm2/iterm2.zshrc b/plugins/iterm2/iterm2.zshrc index 211e617..648bd83 100644 --- a/plugins/iterm2/iterm2.zshrc +++ b/plugins/iterm2/iterm2.zshrc @@ -162,9 +162,3 @@ preexec_functions+=(iterm2_preexec) iterm2_print_state_data printf "${TMUX_PREFIX}\033]1337;ShellIntegrationVersion=12;shell=zsh\007${TMUX_POSTFIX}" - -# Setup iTerm2 command aliases -for cmd (~/.iterm2/*(N)); do - [[ -x "$cmd" ]] && alias "$(basename "$cmd")=$cmd" -done -unset cmd