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 \
cp='cp -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';
# delete stuff
@ -44,11 +47,12 @@ alias \
# Query Stuff
alias \
ip='ip -human -color -brief addr' \
df='df -h' \
df="duf --hide special --hide-mp '/boot,/boot/*'" \
du='dust --reverse' \
du1='dust --reverse --min-size 1M --depth 1' \
du2='dust --reverse --min-size 1M --depth 2' \
du3='dust --reverse --min-size 1M --depth 3' \
cat='bat';
## Music Streams
lofi_url="https://youtu.be/jfKfPfyJRdk"

View file

@ -41,3 +41,10 @@ profzsh() {
shell=${1-$SHELL}
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
bgnotify
colored-man-pages
cp # alias to use rsync to copy files
docker
docker-compose
fd
@ -66,7 +65,6 @@ plugins=(
git
git-prompt
ripgrep
rsync
safe-paste # don't run code when pasting
systemd
# tmux

View file

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