From 915301e55c152ee776485138e23fbf4cf10dc719 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 15 Dec 2023 09:12:43 -0600 Subject: [PATCH] update ls alias to workaround system volume --- home/private_dot_config/zsh/conf.d/aliases.zsh | 9 +-------- home/private_dot_config/zsh/zexists.d/cmd/lsd.zsh | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/home/private_dot_config/zsh/conf.d/aliases.zsh b/home/private_dot_config/zsh/conf.d/aliases.zsh index b490624..dd7ca55 100644 --- a/home/private_dot_config/zsh/conf.d/aliases.zsh +++ b/home/private_dot_config/zsh/conf.d/aliases.zsh @@ -1,18 +1,11 @@ -# -# aliases - Set whatever Zsh aliases you want. -# - -# single character aliases - be sparing! alias g=git -# mask built-ins with better defaults alias vi=vim -# this one is kinda dangerous alias rr="rm -rf" # 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 la='ls -a' alias ldot='ls -ld .*' diff --git a/home/private_dot_config/zsh/zexists.d/cmd/lsd.zsh b/home/private_dot_config/zsh/zexists.d/cmd/lsd.zsh index 3d658f1..6243615 100644 --- a/home/private_dot_config/zsh/zexists.d/cmd/lsd.zsh +++ b/home/private_dot_config/zsh/zexists.d/cmd/lsd.zsh @@ -1,3 +1,3 @@ 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'