]> arthur.barton.de Git - ax-zsh.git/commitdiff
iterm2: Don't setup command aliases, we always update the search path
authorAlexander Barton <alex@barton.de>
Sat, 20 Apr 2024 12:51:25 +0000 (14:51 +0200)
committerAlexander Barton <alex@barton.de>
Sat, 20 Apr 2024 12:51:25 +0000 (14:51 +0200)
This way all iTerm2 commands are available in child processes, too.

plugins/iterm2/iterm2.zshrc

index 211e617a0372be5ea0ff059b3c87cfd8f1fafee5..648bd8319c20c0d2c5889d56dc17d1f5ac85f550 100644 (file)
@@ -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