mirror of
https://gitlab.com/dabruh/dotfiles.git
synced 2024-12-27 04:18:11 +01:00
41 lines
969 B
Bash
41 lines
969 B
Bash
#!/bin/bash
|
|
|
|
# Verbosity and settings that you pretty much just always are going to want.
|
|
alias \
|
|
bc="bc -ql" \
|
|
cp="cp -iv" \
|
|
ffmpeg="ffmpeg -hide_banner" \
|
|
mkd="mkdir -pv" \
|
|
mv="mv -iv" \
|
|
rm="rm -vI" \
|
|
shrd="shred -zuvn3" \
|
|
yt="yt-dlp --embed-metadata -i" \
|
|
yta="yt -x -f bestaudio/best -o '%(uploader)s - %(title)s [%(id)s].%(ext)s'" \
|
|
ytmp3="yta --audio-format mp3 --audio-quality 192K"
|
|
|
|
# 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" \
|
|
e="${EDITOR:-vim}" \
|
|
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/'
|
|
|
|
which codium >/dev/null && alias code=codium
|
|
[ -s "$NVM_DIR/nvm.sh" ] && alias load-nvm="source '$NVM_DIR/nvm.sh'"
|