Combined sync-shortcuts with sync-aliases

Also combined with Luke's sync-shortcuts.
This commit is contained in:
2019-01-28 23:06:42 -05:00
parent 42d6ee9b46
commit 1f9a0bfbd5
15 changed files with 88 additions and 54 deletions

View File

@@ -52,7 +52,7 @@ rsy "rsync -Pr"
# list all (un)mounted drives
lhd "sudo fdisk -l"
# get disc space for mounted drives
ds "df -h | grep sd"
ds "df -h | tee >(head -n 1) >(grep sd) >/dev/null"
chownw "sudo chown -R kevin:wheel"
chwnm "sudo chown -R kevin:wheel /run/media/kevin"
# cd into backup folder and show backup sizes
@@ -70,7 +70,6 @@ x "xmodmap ~/.Xmodmap && xset r rate 200 60"
# }}} power options #
# sound
vlm "alsamixer -c 0"
vlh "alsamixer -c 2"

View File

@@ -91,7 +91,7 @@ alias "f.."="f ..."
function mvd() { mv $1 ~/Downloads ; }
alias lhd="sudo fdisk -l"
alias ds="df -h | grep sd"
alias ds="df -h | tee >(head -n 1) >(grep sd) >/dev/null"
alias chownw="sudo chown -R kevin:wheel"
alias chwnm="sudo chown -R kevin:wheel /run/media/kevin"
alias nbu="f /run/media/kevin/pc-backup/backups/nzxt && ll | grep gz"