Exa is deprecated, replace with eza.

This commit is contained in:
Kevin Baensch 2024-02-21 21:30:07 +01:00
parent aa05963032
commit 0d776c0be2
Signed by: derped
GPG key ID: C0F1D326C7626543
2 changed files with 5 additions and 5 deletions

View file

@ -12,16 +12,16 @@ with lib;
shellAliases = { shellAliases = {
cat = ''bat --paging=never --theme="Solarized (dark)"''; cat = ''bat --paging=never --theme="Solarized (dark)"'';
less = ''bat --paging=always --style=changes --color=always --theme="Solarized (dark)"''; less = ''bat --paging=always --style=changes --color=always --theme="Solarized (dark)"'';
ls = "exa"; ls = "eza";
l = "exa -abgHhl@ --git --color=always --group-directories-first"; l = "eza -abgHhl@ --git --color=always --group-directories-first";
tree = "exa --tree --color=always"; 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'"; 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"; lsunits = "systemctl list-units | ustrip";
}; };
shellInit = '' shellInit = ''
function ll() { exa -abgHhl@ --git --color=always --group-directories-first $@ | bat --paging=always --style=changes --color=always --theme="Solarized (dark)" } function ll() { eza -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 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 lszip() { unzip -l $@ 2>&1 | sed -e "1,3d" -e "s/^.*:.. *//g" | head --lines=-2 }
function rwhich() { realpath $(which $@) } function rwhich() { realpath $(which $@) }
function cdf() { cd $(rwhich $@ | sed "s/$@$//") } function cdf() { cd $(rwhich $@ | sed "s/$@$//") }

View file

@ -12,7 +12,7 @@
cryptsetup cryptsetup
dhcpcd dhcpcd
dnsutils dnsutils
exa eza
finger_bsd finger_bsd
gitFull gitFull
gnupg gnupg