aboutsummaryrefslogtreecommitdiff
path: root/.config/aliasrc
blob: af8948d5caf61f436f2686142b548fa40a32a5de (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
#!/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.