dotfiles/.config/shell/aliasrc

40 lines
873 B
Plaintext
Raw Normal View History

2022-05-27 21:07:07 +02:00
#!/bin/bash
# Verbosity and settings that you pretty much just always are going to want.
alias \
cp="cp -iv" \
mv="mv -iv" \
rm="rm -vI" \
bc="bc -ql" \
mkd="mkdir -pv" \
yt="yt-dlp --embed-metadata -i" \
2022-07-02 20:50:01 +02:00
yta="yt -x -f bestaudio/best -o '%(uploader)s - %(title)s [%(id)s].%(ext)s'" \
ytmp3="yta --audio-format mp3 --audio-quality 192K" \
2022-05-27 21:07:07 +02:00
ffmpeg="ffmpeg -hide_banner"
# Kubernetes things
alias \
ctx="kubectl ctx" \
f='flux' \
h='helm' \
k='kubectl' \
v='velero'
# These common commands are just too long! Abbreviate them.
alias \
ka="killall" \
g="git" \
2022-06-07 14:46:06 +02:00
e="${EDITOR:-vim}" \
2022-05-27 21:07:07 +02:00
p="pacman" \
z="zathura"
# Misc
alias \
tmux='tmux -f ~/.config/tmux/tmux.conf' \
df='df -h' \
free='free -m' \
r='ranger' \
w='curl https://wttr.in/'
2022-06-08 10:21:13 +02:00
which codium >/dev/null && alias code=codium