update ls alias to workaround system volume
This commit is contained in:
parent
d3a7de094f
commit
915301e55c
2 changed files with 2 additions and 9 deletions
|
@ -1,18 +1,11 @@
|
||||||
#
|
|
||||||
# aliases - Set whatever Zsh aliases you want.
|
|
||||||
#
|
|
||||||
|
|
||||||
# single character aliases - be sparing!
|
|
||||||
alias g=git
|
alias g=git
|
||||||
|
|
||||||
# mask built-ins with better defaults
|
|
||||||
alias vi=vim
|
alias vi=vim
|
||||||
|
|
||||||
# this one is kinda dangerous
|
|
||||||
alias rr="rm -rf"
|
alias rr="rm -rf"
|
||||||
|
|
||||||
# more ways to ls
|
# more ways to ls
|
||||||
alias ls="${aliases[ls]:-ls} --group-directories-first --color=auto"
|
alias ls="${aliases[ls]:-ls} --group-directories-first --color=auto -I 'System Volume Information'"
|
||||||
alias l='ls -lh'
|
alias l='ls -lh'
|
||||||
alias la='ls -a'
|
alias la='ls -a'
|
||||||
alias ldot='ls -ld .*'
|
alias ldot='ls -ld .*'
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
is-tty && alias lsd="lsd --icon never"
|
is-tty && alias lsd="lsd --icon never"
|
||||||
alias ls="lsd -g"
|
alias ls="lsd --group-directories-first --color=auto -I 'System Volume Information' -g"
|
||||||
alias lt='lsd --tree --depth=3'
|
alias lt='lsd --tree --depth=3'
|
||||||
|
|
Loading…
Reference in a new issue