diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2021-03-07 15:44:52 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2021-03-07 15:44:52 -0500 |
| commit | 284b1078cb6231863244a1355dd08cd81be279a6 (patch) | |
| tree | 37ab701b45e70bd0cc8a4b04e4cfa762f87b5323 /.config/shell | |
| parent | 9ca587702480b8185a27800b016837b6655249fc (diff) | |
| download | eibhear-284b1078cb6231863244a1355dd08cd81be279a6.tar.gz eibhear-284b1078cb6231863244a1355dd08cd81be279a6.tar.zst eibhear-284b1078cb6231863244a1355dd08cd81be279a6.zip | |
minor tweaks, electrum and mbsync to ~/.config
Diffstat (limited to '.config/shell')
| -rw-r--r-- | .config/shell/aliasrc | 6 | ||||
| -rw-r--r-- | .config/shell/profile | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 6ad7a8b..107ecb8 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -6,6 +6,11 @@ # Use $XINITRC variable if file exists. [ -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 + # Verbosity and settings that you pretty much just always are going to want. alias \ cp="cp -iv" \ @@ -31,7 +36,6 @@ alias \ trem="transmission-remote" \ YT="youtube-viewer" \ sdn="sudo shutdown -h now" \ - f="$FILE" \ e="$EDITOR" \ v="$EDITOR" \ p="sudo pacman" \ diff --git a/.config/shell/profile b/.config/shell/profile index d075418..9515179 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -40,6 +40,8 @@ export ANSIBLE_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/ansible/ansible.cfg" export UNISON="${XDG_DATA_HOME:-$HOME/.local/share}/unison" export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/history" export WEECHAT_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/weechat" +export MBSYNCRC="${XDG_CONFIG_HOME:-$HOME/.config}/mbsync/config" +export ELECTRUMDIR="${XDG_DATA_HOME:-$HOME/.local/share}/electrum" # Other program settings: export DICS="/usr/share/stardict/dic/" |
