Try changing how we do the list contents on directory change
This commit is contained in:
parent
2469e7f977
commit
e5c057ca15
1 changed files with 2 additions and 2 deletions
|
@ -70,12 +70,12 @@ source $HOME/.zsh/aliases.zsh
|
||||||
# credit Paul Irish: https://github.com/paulirish/dotfiles/blob/606d85f083eb53853789ce9dcaf31a49756471bd/.zshrc#L80
|
# credit Paul Irish: https://github.com/paulirish/dotfiles/blob/606d85f083eb53853789ce9dcaf31a49756471bd/.zshrc#L80
|
||||||
# Automatically list directory contents on `cd`.
|
# Automatically list directory contents on `cd`.
|
||||||
# Switched to using `exa` instead of `ls`.
|
# Switched to using `exa` instead of `ls`.
|
||||||
auto-ls () {
|
ezacd () {
|
||||||
emulate -L zsh;
|
emulate -L zsh;
|
||||||
|
|
||||||
eza --oneline --long --classify --icons --header
|
eza --oneline --long --classify --icons --header
|
||||||
}
|
}
|
||||||
chpwd_functions=( auto-ls $chpwd_functions )
|
chpwd_functions=(${chpwd_functions[@]} "ezacd")
|
||||||
|
|
||||||
# Go Lang stuff
|
# Go Lang stuff
|
||||||
export GOPATH=$HOME/go
|
export GOPATH=$HOME/go
|
||||||
|
|
Loading…
Add table
Reference in a new issue