2024-01-04 12:45:49 +01:00
|
|
|
# Colorization
|
2023-03-29 16:15:06 +02:00
|
|
|
alias \
|
2024-06-10 01:45:17 +02:00
|
|
|
ls="ls --color=auto --group-directories-first" \
|
|
|
|
grep="grep --color=auto" \
|
|
|
|
diff="diff --color=auto" \
|
|
|
|
ccat="highlight --out-format=ansi" \
|
|
|
|
grep="grep --color=auto" \
|
|
|
|
diff="diff --color=auto" \
|
|
|
|
ip="ip -color=auto"
|
2023-03-29 16:15:06 +02:00
|
|
|
|
2024-01-04 12:45:49 +01:00
|
|
|
# Common flags
|
2023-03-29 16:15:06 +02:00
|
|
|
alias \
|
2024-06-10 01:45:17 +02:00
|
|
|
cp="cp -iv" \
|
|
|
|
mv="mv -iv" \
|
|
|
|
rm="rm -vI" \
|
|
|
|
bc="bc -ql" \
|
2024-09-23 15:26:15 +02:00
|
|
|
mkdir="mkdir -pv" \
|
2024-06-10 01:45:17 +02:00
|
|
|
ffmpeg="ffmpeg -hide_banner" \
|
|
|
|
nvidia-settings="nvidia-settings --config=\$XDG_CONFIG_HOME/nvidia/settings" \
|
2024-09-23 15:26:15 +02:00
|
|
|
less="less -r" \
|
2024-11-11 21:54:02 +01:00
|
|
|
today="date +'%X %x'"
|
2023-03-29 16:15:06 +02:00
|
|
|
|
2024-01-04 12:45:49 +01:00
|
|
|
# Shortening
|
2023-03-29 16:15:06 +02:00
|
|
|
alias \
|
2024-06-10 01:45:17 +02:00
|
|
|
ka="killall" \
|
|
|
|
ll="ls -lhpANX --color=auto --group-directories-first" \
|
|
|
|
subup="git submodule update --remote --recursive --merge"
|
2023-03-29 16:15:06 +02:00
|
|
|
|
2024-01-04 12:45:49 +01:00
|
|
|
# Quasi functions
|
2023-03-29 16:15:06 +02:00
|
|
|
alias \
|
2024-06-10 01:45:17 +02:00
|
|
|
xgetkeys="xev | sed -ne '/^KeyPress/,/^$/p'" \
|
|
|
|
xpick="xprop | awk '
|
2023-03-29 16:15:06 +02:00
|
|
|
/^WM_CLASS/{sub(/.* =/, \"instance:\"); sub(/,/, \"\nclass:\"); print}
|
|
|
|
/^WM_NAME/{sub(/.* =/, \"title:\"); print}'"
|
2024-01-04 12:45:49 +01:00
|
|
|
|
2024-01-13 15:10:31 +01:00
|
|
|
# Void specific aliases
|
2024-01-04 12:45:49 +01:00
|
|
|
alias \
|
2024-06-10 01:45:17 +02:00
|
|
|
x="xbps-install" \
|
|
|
|
xr="xbps-remove"
|