diff --git a/shell/alias/lsblk.sh b/shell/alias/lsblk.sh index fb50d87..398bc42 100644 --- a/shell/alias/lsblk.sh +++ b/shell/alias/lsblk.sh @@ -8,8 +8,8 @@ lb() { "MOUNTPOINTS" } -# common arguments -lbc() { +# base arguments +lbb() { lsblk \ --noempty \ "${@}" @@ -22,6 +22,6 @@ lbo() { for argument in "${@}"; do arguments="${arguments},${argument}" done - lbc \ + lbb \ --output "${arguments}" } diff --git a/shell/alias/rsync.sh b/shell/alias/rsync.sh index 7c08c91..d7c66b6 100644 --- a/shell/alias/rsync.sh +++ b/shell/alias/rsync.sh @@ -1,12 +1,19 @@ # synchronize -alias rs="\ -rsync \ ---archive \ ---partial \ ---progress \ ---verbose \ ---no-inc-recursive \ -" +rs() { + rsb \ + "${@}" +} + +# base arguments +rsb() { + rsync \ + --archive \ + --no-inc-recursive \ + --partial \ + --progress \ + --verbose \ + "${@}" +} # synchronize and delete after alias rsda="\