update aliases

This commit is contained in:
Alexander Navarro 2023-06-04 17:39:39 -04:00
parent 8b2299626d
commit 5ae7ddea38
4 changed files with 14 additions and 3 deletions

View file

@ -12,6 +12,9 @@ alias rg="rg --sort path"
alias \ alias \
cp='cp -iv' \ cp='cp -iv' \
mv='mv -iv' \ mv='mv -iv' \
cpr='rsync -za --partial -hh --info=progress2' \
mvr='rsync -za --remove-source-files --partial -hh --info=progress2' \
sync='rsync -zau --delete --partial -hh --info=progress2' \
md='mkdir -pv'; md='mkdir -pv';
# delete stuff # delete stuff
@ -44,11 +47,12 @@ alias \
# Query Stuff # Query Stuff
alias \ alias \
ip='ip -human -color -brief addr' \ ip='ip -human -color -brief addr' \
df='df -h' \ df="duf --hide special --hide-mp '/boot,/boot/*'" \
du='dust --reverse' \ du='dust --reverse' \
du1='dust --reverse --min-size 1M --depth 1' \ du1='dust --reverse --min-size 1M --depth 1' \
du2='dust --reverse --min-size 1M --depth 2' \ du2='dust --reverse --min-size 1M --depth 2' \
du3='dust --reverse --min-size 1M --depth 3' \ du3='dust --reverse --min-size 1M --depth 3' \
cat='bat';
## Music Streams ## Music Streams
lofi_url="https://youtu.be/jfKfPfyJRdk" lofi_url="https://youtu.be/jfKfPfyJRdk"

View file

@ -41,3 +41,10 @@ profzsh() {
shell=${1-$SHELL} shell=${1-$SHELL}
ZPROF=true $shell -i -c exit ZPROF=true $shell -i -c exit
} }
# Pretty Help
alias bathelp='bat --plain --language=help'
help() {
"$@" --help 2>&1 | bathelp
}

View file

@ -58,7 +58,6 @@ plugins=(
# archlinux # archlinux
bgnotify bgnotify
colored-man-pages colored-man-pages
cp # alias to use rsync to copy files
docker docker
docker-compose docker-compose
fd fd
@ -66,7 +65,6 @@ plugins=(
git git
git-prompt git-prompt
ripgrep ripgrep
rsync
safe-paste # don't run code when pasting safe-paste # don't run code when pasting
systemd systemd
# tmux # tmux

View file

@ -1,4 +1,5 @@
dnf-plugin-system-upgrade dnf-plugin-system-upgrade
duf
exa exa
fd-find fd-find
flatpak flatpak
@ -11,6 +12,7 @@ neovim
nodejs nodejs
remove-retired-packages remove-retired-packages
ripgrep ripgrep
sd
tealdeer tealdeer
tmux tmux
tree-sitter-cli tree-sitter-cli