From 0e8fa639b065e15a90f0beba2b814d19bc86f70e Mon Sep 17 00:00:00 2001 From: Daniel Lynn Date: Mon, 27 Feb 2023 13:18:52 -0600 Subject: [PATCH] Add coreutils aliases --- aliases | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 125 insertions(+), 3 deletions(-) diff --git a/aliases b/aliases index 9a876b2..cb9c757 100644 --- a/aliases +++ b/aliases @@ -1,9 +1,131 @@ alias e="$EDITOR" alias app="./bin/app" -alias l="exa --git --icons --grid" -alias ll="exa --git --icons --long --grid" -alias lt="exa --git --icons --long --tree --level=2" + +if (( $+commands[exa] )); then + alias l="exa --git --icons --grid" + alias ll="exa --git --icons --long --grid" + alias lt="exa --git --icons --long --tree --level=2" +fi if (( $+commands[helix] )); then alias hx="helix" fi + +if (( $+commands[coreutils] )); then + alias [ + alias arch="coreutils arch" + alias b2sum="coreutils b2sum" + alias b3sum="coreutils b3sum" + alias base32="coreutils base32" + alias base64="coreutils base64" + alias basename="coreutils basename" + alias basenc="coreutils basenc" + alias cat="coreutils cat" + alias chgrp="coreutils chgrp" + alias chmod="coreutils chmod" + alias chown="coreutils chown" + alias chroot="coreutils chroot" + alias cksum="coreutils cksum" + alias comm="coreutils comm" + alias cp="coreutils cp" + alias csplit="coreutils csplit" + alias cut="coreutils cut" + alias date="coreutils date" + alias dd="coreutils dd" + alias df="coreutils df" + alias dir="coreutils dir" + alias dircolors="coreutils dircolors" + alias dirname="coreutils dirname" + alias du="coreutils du" + alias echo="coreutils echo" + alias env="coreutils env" + alias expand="coreutils expand" + alias expr="coreutils expr" + alias factor="coreutils factor" + alias false="coreutils false" + alias fmt="coreutils fmt" + alias fold="coreutils fold" + alias groups="coreutils groups" + alias hashsum="coreutils hashsum" + alias head="coreutils head" + alias hostname="coreutils hostname" + alias id="coreutils id" + alias install="coreutils install" + alias join="coreutils join" + alias kill="coreutils kill" + alias link="coreutils link" + alias ln="coreutils ln" + alias logname="coreutils logname" + alias ls="coreutils ls" + alias md5sum="coreutils md5sum" + alias mkdir="coreutils mkdir" + alias mkfifo="coreutils mkfifo" + alias mknod="coreutils mknod" + alias mktemp="coreutils mktemp" + alias more="coreutils more" + alias mv="coreutils mv" + alias nice="coreutils nice" + alias nl="coreutils nl" + alias nohup="coreutils nohup" + alias nproc="coreutils nproc" + alias numfmt="coreutils numfmt" + alias od="coreutils od" + alias paste="coreutils paste" + alias pathchk="coreutils pathchk" + alias pinky="coreutils pinky" + alias pr="coreutils pr" + alias printenv="coreutils printenv" + alias printf="coreutils printf" + alias ptx="coreutils ptx" + alias pwd="coreutils pwd" + alias readlink="coreutils readlink" + alias realpath="coreutils realpath" + alias relpath="coreutils relpath" + alias rm="coreutils rm" + alias rmdir="coreutils rmdir" + alias seq="coreutils seq" + alias sha1sum="coreutils sha1sum" + alias sha224sum="coreutils sha224sum" + alias sha256sum="coreutils sha256sum" + alias sha3-224sum="corsha3eutils " + alias sha3-256sum="corsha3eutils " + alias sha3-384sum="corsha3eutils " + alias sha3-512sum="corsha3eutils " + alias sha384sum="coreutils sha384sum" + alias sha3sum="coreutils sha3sum" + alias sha512sum="coreutils sha512sum" + alias shake128sum="coreutils shake128sum" + alias shake256sum="coreutils shake256sum" + alias shred="coreutils shred" + alias shuf="coreutils shuf" + alias sleep="coreutils sleep" + alias sort="coreutils sort" + alias split="coreutils split" + alias stat="coreutils stat" + alias stdbuf="coreutils stdbuf" + alias stty="coreutils stty" + alias sum="coreutils sum" + alias sync="coreutils sync" + alias tac="coreutils tac" + alias tail="coreutils tail" + alias tee="coreutils tee" + alias test="coreutils test" + alias timeout="coreutils timeout" + alias touch="coreutils touch" + alias tr="coreutils tr" + alias true="coreutils true" + alias truncate="coreutils truncate" + alias tsort="coreutils tsort" + alias tty="coreutils tty" + alias uname="coreutils uname" + alias unexpand="coreutils unexpand" + alias uniq="coreutils uniq" + alias unlink="coreutils unlink" + alias uptime="coreutils uptime" + alias users="coreutils users" + alias vdir="coreutils vdir" + alias wc="coreutils wc" + alias who="coreutils who" + alias whoami="coreutils whoami" + alias yes="coreutils yes" +fi