summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-11-20 15:26:51 -0600
committerMatt Strapp <matt@mattstrapp.net>2023-11-20 15:27:08 -0600
commiteb02e5d9ca1c12e9fc745a30472822fa900080e4 (patch)
treee7a2b5189f4329385b32a486db6ca2a53b27f2d0
parentDarwin: No more nix (diff)
downloaddotfiles-eb02e5d9ca1c12e9fc745a30472822fa900080e4.tar
dotfiles-eb02e5d9ca1c12e9fc745a30472822fa900080e4.tar.gz
dotfiles-eb02e5d9ca1c12e9fc745a30472822fa900080e4.tar.bz2
dotfiles-eb02e5d9ca1c12e9fc745a30472822fa900080e4.tar.lz
dotfiles-eb02e5d9ca1c12e9fc745a30472822fa900080e4.tar.xz
dotfiles-eb02e5d9ca1c12e9fc745a30472822fa900080e4.tar.zst
dotfiles-eb02e5d9ca1c12e9fc745a30472822fa900080e4.zip
Use eza instead of exa
-rw-r--r--dot_config/shell/aliasrc8
-rw-r--r--dot_config/zsh/dot_zshrc6
2 files changed, 8 insertions, 6 deletions
diff --git a/dot_config/shell/aliasrc b/dot_config/shell/aliasrc
index 0dd2aa8..8918d20 100644
--- a/dot_config/shell/aliasrc
+++ b/dot_config/shell/aliasrc
@@ -36,10 +36,10 @@ alias \
# Colorize commands when possible.
alias \
- ls="exa -aF --group-directories-first" \
- ll="exa -alg --group-directories-first" \
- lt='exa -aTF --group-directories-first' \
- lr='exa -aRF' \
+ ls="eza -aF --group-directories-first" \
+ ll="eza -alg --group-directories-first" \
+ lt='eza -aTF --group-directories-first' \
+ lr='eza -aRF' \
grep="rg --color=auto" \
diff="delta" \
cat='bat --paging=never --style=plain' \
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