diff --git a/zsh/aliases/00-default.conf b/zsh/aliases/00-default.conf index e189c97..2513b83 100644 --- a/zsh/aliases/00-default.conf +++ b/zsh/aliases/00-default.conf @@ -2,8 +2,13 @@ # index. # Files navigation. -alias ls="ls --color" -alias sl="ls --color" +if [[ -z "${BAZZITE_CLI}" ]]; then + alias ls="ls --color" + alias sl="ls --color" +else + alias ls="eza" + alias sl="eza" +fi # Git. alias got="git" diff --git a/zsh/apps/bazzite-cli.app.zsh b/zsh/apps/bazzite-cli.app.zsh index 52b5cf6..cbf3a5a 100644 --- a/zsh/apps/bazzite-cli.app.zsh +++ b/zsh/apps/bazzite-cli.app.zsh @@ -1,7 +1,5 @@ function bazzite-cli() { - # Those two are conflicting with Bazzite CLI aliases. - unalias ls - unalias sl + BAZZITE_CLI=1 source /usr/share/bazzite-cli/bling.sh }