From 33dcdb8c61d68d1284dd25f2f465a2f785d53794 Mon Sep 17 00:00:00 2001 From: materus Date: Sun, 14 Jun 2026 11:14:57 +0200 Subject: [PATCH] common: zsh alias for eza --- config/shell/zsh/.zshrc | 9 +++++++++ config/tmux/tmux.conf | 1 + nix-config/host/oldie/home-manager/materus.nix | 3 +++ 3 files changed, 13 insertions(+) diff --git a/config/shell/zsh/.zshrc b/config/shell/zsh/.zshrc index 94d8cf3..b7eb701 100644 --- a/config/shell/zsh/.zshrc +++ b/config/shell/zsh/.zshrc @@ -127,6 +127,15 @@ if [[ $(whence -p "nvim") ]]; then alias vi="nvim" alias vimdiff="nvim -d" fi +if [[ $(whence -p "eza") ]]; then + alias l="eza -lahg --color=auto --hyperlink" + alias ll="eza -alF --color=auto --hyperlink" + alias ls="eza --color=auto" +else + alias l="ls -lah --color=auto --hyperlink" + alias ll="ls -alF --color=auto --hyperlink" + alias ls="ls --color=auto" +fi #endregion diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index e5b09ad..65735a8 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -7,3 +7,4 @@ set -g focus-events on setw -g aggressive-resize on setw -g mouse on setw -g clock-mode-style 24 + diff --git a/nix-config/host/oldie/home-manager/materus.nix b/nix-config/host/oldie/home-manager/materus.nix index 6fb1b15..3a8da9e 100644 --- a/nix-config/host/oldie/home-manager/materus.nix +++ b/nix-config/host/oldie/home-manager/materus.nix @@ -18,6 +18,9 @@ mesa-demos vulkan-tools nixfmt + nixd + + eza curl wget