From e5c057ca1518762c0118f620b61cf8d53dddc254 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Fri, 17 May 2024 16:47:54 +0100 Subject: [PATCH] Try changing how we do the list contents on directory change --- zshrc.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zshrc.zsh b/zshrc.zsh index 1af5997..94dd919 100644 --- a/zshrc.zsh +++ b/zshrc.zsh @@ -70,12 +70,12 @@ source $HOME/.zsh/aliases.zsh # credit Paul Irish: https://github.com/paulirish/dotfiles/blob/606d85f083eb53853789ce9dcaf31a49756471bd/.zshrc#L80 # Automatically list directory contents on `cd`. # Switched to using `exa` instead of `ls`. -auto-ls () { +ezacd () { emulate -L zsh; eza --oneline --long --classify --icons --header } -chpwd_functions=( auto-ls $chpwd_functions ) +chpwd_functions=(${chpwd_functions[@]} "ezacd") # Go Lang stuff export GOPATH=$HOME/go