move Listings to partial
This commit is contained in:
parent
e646ca45cd
commit
4f2bb48521
11
zsh.d/50_listings.zsh
Normal file
11
zsh.d/50_listings.zsh
Normal file
@ -0,0 +1,11 @@
|
||||
# vim: ft=zsh
|
||||
|
||||
if command-exists dircolors; then
|
||||
eval "$(dircolors -b)"
|
||||
fi
|
||||
if command-exists eza; then
|
||||
alias ls='eza --git --long --all --time-style long-iso'
|
||||
else
|
||||
LSOPTS="-lAvF --color=auto" # long mode, show all, natural sort, type squiggles, friendly sizes
|
||||
alias ls="ls $LSOPTS"
|
||||
fi
|
||||
12
zshrc
12
zshrc
@ -45,18 +45,6 @@ command-exists() {
|
||||
NEWLINE=$'\n'
|
||||
ZDOTDIR=${ZDOTDIR:-$HOME/.zsh}
|
||||
|
||||
#---------------------------------- Listings ----------------------------------
|
||||
|
||||
if command-exists dircolors; then
|
||||
eval "$(dircolors -b)"
|
||||
fi
|
||||
if command-exists eza; then
|
||||
alias ls='eza --git --long --all --time-style long-iso'
|
||||
else
|
||||
LSOPTS="-lAvF --color=auto" # long mode, show all, natural sort, type squiggles, friendly sizes
|
||||
alias ls="ls $LSOPTS"
|
||||
fi
|
||||
|
||||
#---------------------------------- Tab completion ----------------------------
|
||||
|
||||
# Force a reload of completion system if nothing matched; this fixes installing
|
||||
|
||||
Loading…
Reference in New Issue
Block a user