From eb02e5d9ca1c12e9fc745a30472822fa900080e4 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Mon, 20 Nov 2023 15:26:51 -0600 Subject: Use eza instead of exa --- dot_config/zsh/dot_zshrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dot_config/zsh/dot_zshrc') diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc index de57807..4cd42fe 100644 --- a/dot_config/zsh/dot_zshrc +++ b/dot_config/zsh/dot_zshrc @@ -94,8 +94,10 @@ compdef _dotnet_zsh_complete dotnet if [ -n $WSL_DISTRO_NAME ] then command_not_found_handler() { - if [ -x "$(command -v $@.exe)" ]; then - $@.exe + if [ -x "$(command -v $0.exe)" ]; then + cmd=$0.exe + shift + $cmd $@ else echo >&2 "zsh: command not found: $@" return 127 -- cgit v1.2.3