1
0
Files
dotfiles/.aliasrc
T
2023-08-24 18:55:30 +02:00

28 lines
788 B
Bash

#!/bin/sh
alias ka="killall" \
p="sudo pacman" \
s="sudo systemctl" \
ss="sudo systemctl start" \
f="nnn" \
g="git" \
v="$EDITOR" \
x="sxiv -ft *" \
sdn="sudo shutdown -h now" \
reflect="sudo reflector --country Netherlands --sort rate --age 12 --save /etc/pacman.d/mirrorlist" \
grep="grep --color=auto" \
diff="diff --color=auto" \
yt="youtube-dl --add-metadata -i -o '%(upload_date)s-%(title)s.%(ext)s'" \
yta="yt -x -f bestaudio/best" \
vim="nvim" \
cfg="$EDITOR ~/.config/hypr/hyprland.conf" \
ssh="kitty +kitten ssh" \
icat="kitty +kitten icat" \
ls="exa" \
sw="swallow" \
swz="swallow zathura" \
pls="sudo" \
o="fzf | sw xdg-open"
se() { du -a ~/.scripts/* ~/.config/* | awk '{print $2}' | fzf | xargs -r $EDITOR ;}
vf() { fzf | xargs -r -I % $EDITOR % ;}