From 372ae66cc2e7eb160954a3d415fc6905d02ea6a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Andr=C3=A9?= Date: Mon, 18 Mar 2024 14:45:35 +0100 Subject: [PATCH] fish --- fish/config.fish | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/fish/config.fish b/fish/config.fish index eacfe833..529f6fdc 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -42,9 +42,17 @@ if type -q mise mise activate fish | source end -alias ls="eza" -alias l="ls -ah" -alias ll="ls -lah" +if command -v eza > /dev/null + alias l='eza' + alias ls='eza' + alias ll='eza -l' + alias lll='eza -la' +else + alias l='ls' + alias ll='ls -l' + alias lll='ls -la' +end + alias cat='bat --paging=never' alias rf="rm -fr" alias e="nvim"