aboutsummaryrefslogtreecommitdiff
path: root/.config/aliasrc
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-03-12 17:00:07 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-03-12 17:00:07 +0100
commitdcdd9a728bba37542b4c08ebe27f7500f7f96d6f (patch)
tree15ebd6663ae7c2d546e88c7e5b74a3e01ba28e89 /.config/aliasrc
parente21a6b8e41c739d0e35c4daece65b3e46d7860c4 (diff)
Update
Diffstat (limited to '.config/aliasrc')
-rw-r--r--.config/aliasrc9
1 files changed, 5 insertions, 4 deletions
diff --git a/.config/aliasrc b/.config/aliasrc
index af8948d..f99e596 100644
--- a/.config/aliasrc
+++ b/.config/aliasrc
@@ -1,10 +1,10 @@
#!/bin/sh
-alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
+alias mpv='mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)' \
xi="sudo xbps-install" \
xr="sudo xbps-remove" \
xq="xbps-query" \
- v="$EDITOR" \
+ v='$EDITOR' \
ls="ls -hN --color=auto --group-directories-first" \
grep="grep --color=auto" \
diff="diff --color=auto" \
@@ -12,7 +12,7 @@ alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
cat='bat' \
bat_pow='sudo upower -i /org/freedesktop/UPower/devices/battery_BAT0' \
la='ls -A' \
- l='ls' \
+ l='ls -1' \
ll='ls -lt' \
display='sxiv' \
xbacklight='sudo xbacklight' \
@@ -27,6 +27,7 @@ alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
rmac='rmac.py' \
vv='cd ~/Videos && ls -A *' \
pp='cd ~/Pictures && ls -A *' \
- mm='cd ~/Music && 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.