summaryrefslogtreecommitdiffstats
path: root/.config/shell
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-05-30 20:55:28 -0400
committerLuke Smith <luke@lukesmith.xyz>2021-05-30 20:55:28 -0400
commit9dec1225a493eface0146e4a35d6cf558e875129 (patch)
tree5afd0e0b7f549e71237b58d105671019779e0083 /.config/shell
parent2440ad83e9e9cf2f927efbaef618513e0df3cbda (diff)
downloadeibhear-9dec1225a493eface0146e4a35d6cf558e875129.tar.gz
eibhear-9dec1225a493eface0146e4a35d6cf558e875129.tar.zst
eibhear-9dec1225a493eface0146e4a35d6cf558e875129.zip
fix #956
Diffstat (limited to '.config/shell')
-rw-r--r--.config/shell/aliasrc6
-rw-r--r--.config/shell/bm-dirs1
2 files changed, 4 insertions, 3 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index 1f048ed..5122d08 100644
--- a/.config/shell/aliasrc
+++ b/.config/shell/aliasrc
@@ -7,9 +7,9 @@
[ -f "$XINITRC" ] && alias startx="startx $XINITRC"
# sudo not required for some system commands
-for x in mount umount sv pacman updatedb su ; do
- alias $x="sudo $x"
-done
+for command in mount umount sv pacman updatedb su ; do
+ alias $command="sudo $command"
+done; unset command
# Verbosity and settings that you pretty much just always are going to want.
alias \
diff --git a/.config/shell/bm-dirs b/.config/shell/bm-dirs
index b3807cd..b204215 100644
--- a/.config/shell/bm-dirs
+++ b/.config/shell/bm-dirs
@@ -4,6 +4,7 @@ cf ${XDG_CONFIG_HOME:-$HOME/.config}
D ${XDG_DOWNLOAD_DIR:-$HOME/Downloads}
d ${XDG_DOCUMENTS_DIR:-$HOME/Documents}
dt ${XDG_DATA_HOME:-$HOME/.local/share}
+rr ${XDG_DATA_HOME:-$HOME/.local/src}
h $HOME
m ${XDG_MUSIC_DIR:-$HOME/Music}
mn /mnt