update aliases
This commit is contained in:
parent
8b2299626d
commit
5ae7ddea38
4 changed files with 14 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue