1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-12 05:40:17 +00:00
dotfiles/.zsh/aliases.zsh
2024-04-19 16:05:24 +02:00

35 lines
1 KiB
Bash

alias \
wget='wget -c' \
zshrc='source ~/.zshrc' \
dps='docker ps -a --format "table {{.Names}}\t{{.Image}}\t{{.Status}}"' \
lla='ls -lha' \
cp='cp -iv' \
rm='rm -iv' \
mv='mv -iv' \
mkd="mkdir -pv" \
smpv="mpv --profile=svp --script-opts=socketPath=/tmp/mpvsocket " \
vim="nvim" \
swap-ytmpv-profiles="sed -i 's/mpv-yt/mpv-yt-inactive/g' ~/.config/mpv/mpv.conf && sed -i 's/mpv-yt-inactive-inactive/mpv-yt/g' ~/.config/mpv/mpv.conf; grep -1 mpv-yt ~/.config/mpv/mpv.conf" \
ga='git add' \
gap='git add --patch' \
gc='git commit' \
gd='git diff' \
gdc='git diff --cached' \
gl='git lg' \
gp='git push' \
gres='git restore' \
gs='git status' \
gst='git stash' \
hx='helix'
alias ls='ls --color=auto'
alias gcl='git clone'
alias history='fc -l 0'
alias ytdlp='yt-dlp `xclip -o`'
alias 'cls'='clear'
alias 'rsyncA'='rsync -azzP'
alias wgetx='wget `xclip -o`'
alias a='host -ta'
alias tunt='until fc -s; do sleep 5 ; done'
if iscmd doas; then
alias sudo='doas'
fi