aboutsummaryrefslogtreecommitdiff
path: root/.config/aliasrc
blob: f99e596adffa598f62caf3d06d2ce846d80691e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/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 -1' \
	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 !(data-music)' \
	ipa='ip -c -h -s a'

command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" # Use neovim for vim if present.