From 0d776c0be27653c80a7a8d990805998e0dc45b30 Mon Sep 17 00:00:00 2001 From: derped Date: Wed, 21 Feb 2024 21:30:07 +0100 Subject: [PATCH] Exa is deprecated, replace with eza. --- config/zsh.nix | 8 ++++---- pkgsets/base.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/zsh.nix b/config/zsh.nix index fc7d73f..844ae5f 100644 --- a/config/zsh.nix +++ b/config/zsh.nix @@ -12,16 +12,16 @@ with lib; shellAliases = { cat = ''bat --paging=never --theme="Solarized (dark)"''; less = ''bat --paging=always --style=changes --color=always --theme="Solarized (dark)"''; - ls = "exa"; - l = "exa -abgHhl@ --git --color=always --group-directories-first"; + ls = "eza"; + l = "eza -abgHhl@ --git --color=always --group-directories-first"; tree = "exa --tree --color=always"; ustrip = "sed -e '/\.service\|\.timer\|\.target\|\.socket\|\.slice\|\.scope\|\.path\|\.mount\|\.device)/!d' -e 's/loaded.*$//g' -e 's/^ \|^● //g'"; lsunits = "systemctl list-units | ustrip"; }; shellInit = '' - function ll() { exa -abgHhl@ --git --color=always --group-directories-first $@ | bat --paging=always --style=changes --color=always --theme="Solarized (dark)" } - function lln() { exa -abgHhl@ --git --color=always --group-directories-first $@ | bat --paging=always --style=changes --color=always --theme="Solarized (dark)" -n } + function ll() { eza -abgHhl@ --git --color=always --group-directories-first $@ | bat --paging=always --style=changes --color=always --theme="Solarized (dark)" } + function lln() { eza -abgHhl@ --git --color=always --group-directories-first $@ | bat --paging=always --style=changes --color=always --theme="Solarized (dark)" -n } function lszip() { unzip -l $@ 2>&1 | sed -e "1,3d" -e "s/^.*:.. *//g" | head --lines=-2 } function rwhich() { realpath $(which $@) } function cdf() { cd $(rwhich $@ | sed "s/$@$//") } diff --git a/pkgsets/base.nix b/pkgsets/base.nix index 04c1891..a693807 100644 --- a/pkgsets/base.nix +++ b/pkgsets/base.nix @@ -12,7 +12,7 @@ cryptsetup dhcpcd dnsutils - exa + eza finger_bsd gitFull gnupg