Exa is deprecated, replace with eza.
This commit is contained in:
parent
aa05963032
commit
0d776c0be2
2 changed files with 5 additions and 5 deletions
|
@ -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/$@$//") }
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
cryptsetup
|
cryptsetup
|
||||||
dhcpcd
|
dhcpcd
|
||||||
dnsutils
|
dnsutils
|
||||||
exa
|
eza
|
||||||
finger_bsd
|
finger_bsd
|
||||||
gitFull
|
gitFull
|
||||||
gnupg
|
gnupg
|
||||||
|
|
Loading…
Reference in a new issue