2019-02-02 21:13:30 +00:00
|
|
|
#!/bin/sh
|
|
|
|
alias ka="killall" \
|
2019-03-30 04:35:51 +00:00
|
|
|
mkd="mkdir -pv" \
|
2019-02-02 21:13:30 +00:00
|
|
|
mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
|
2019-02-19 20:28:29 +00:00
|
|
|
calcurse="calcurse -D ~/.config/calcurse" \
|
2019-03-30 04:35:51 +00:00
|
|
|
magit="nvim -c MagitOnly" \
|
2019-02-02 21:13:30 +00:00
|
|
|
p="sudo pacman" \
|
|
|
|
SS="sudo systemctl" \
|
2019-03-30 04:35:51 +00:00
|
|
|
f="$FILE" \
|
2019-02-02 21:13:30 +00:00
|
|
|
g="git" \
|
|
|
|
trem="transmission-remote" \
|
|
|
|
e="$EDITOR" \
|
|
|
|
v="$EDITOR" \
|
|
|
|
x="sxiv -ft *" \
|
|
|
|
sdn="sudo shutdown -h now" \
|
|
|
|
gua="git remote | xargs -L1 git push --all" \
|
|
|
|
ls="ls -hN --color=auto --group-directories-first" \
|
|
|
|
grep="grep --color=auto" \
|
|
|
|
diff="diff --color=auto" \
|
|
|
|
ccat="highlight --out-format=ansi" \
|
|
|
|
yt="youtube-dl --add-metadata -i -o '%(upload_date)s-%(title)s.%(ext)s'" \
|
|
|
|
yta="yt -x -f bestaudio/best" \
|
|
|
|
YT="youtube-viewer" \
|
2019-02-19 18:13:05 +00:00
|
|
|
ref="shortcuts >/dev/null; source ~/.config/shortcutrc" \
|
2019-02-02 21:13:30 +00:00
|
|
|
upc="sudo pacman -Syu; pkill -RTMIN+8 i3blocks" \
|
2019-02-19 08:54:10 +00:00
|
|
|
lsp="pacman -Qett --color=always | less" \
|
2019-02-18 20:55:06 +00:00
|
|
|
ffmpeg="ffmpeg -hide_banner"
|
2019-02-02 21:13:30 +00:00
|
|
|
|
2019-02-09 22:51:05 +00:00
|
|
|
command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" # Use neovim for vim if present.
|
2019-02-02 21:13:30 +00:00
|
|
|
|
|
|
|
vf() { fzf | xargs -r -I % $EDITOR % ;}
|