aboutsummaryrefslogtreecommitdiff
path: root/.config/aliasrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/aliasrc')
-rw-r--r--.config/aliasrc32
1 files changed, 32 insertions, 0 deletions
diff --git a/.config/aliasrc b/.config/aliasrc
new file mode 100644
index 0000000..af8948d
--- /dev/null
+++ b/.config/aliasrc
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
+ xi="sudo xbps-install" \
+ xr="sudo xbps-remove" \
+ xq="xbps-query" \
+ v="$EDITOR" \
+ ls="ls -hN --color=auto --group-directories-first" \
+ grep="grep --color=auto" \
+ diff="diff --color=auto" \
+ ffmpeg="ffmpeg -hide_banner" \
+ cat='bat' \
+ bat_pow='sudo upower -i /org/freedesktop/UPower/devices/battery_BAT0' \
+ la='ls -A' \
+ l='ls' \
+ ll='ls -lt' \
+ display='sxiv' \
+ xbacklight='sudo xbacklight' \
+ nox='user_nox.py' \
+ incendio='user_incendio.py' \
+ imperio='sudo user_imperio.py' \
+ ipconfig='curl ipconfig.io' \
+ cp='cp -v' \
+ mv='mv -v' \
+ mkdir='mkdir -pv' \
+ rm='rm -v' \
+ rmac='rmac.py' \
+ vv='cd ~/Videos && ls -A *' \
+ pp='cd ~/Pictures && ls -A *' \
+ mm='cd ~/Music && ls -A *'
+
+command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" # Use neovim for vim if present.