From 5365f4cffcb93705d61c9f8df48ed710c93b6049 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 18 Apr 2017 11:34:40 +0200 Subject: [PATCH 1/1] add aliases --- .zsh/aliases/bofh | 1 + .zsh/aliases/chp | 1 + .zsh/aliases/debbug | 1 + .zsh/aliases/debbugm | 1 + .zsh/aliases/dpkg-buildpackage | 1 + .zsh/aliases/genpw | 1 + .zsh/aliases/getpw | 1 + .zsh/aliases/mcd | 1 + 8 files changed, 8 insertions(+) create mode 100644 .zsh/aliases/bofh create mode 100644 .zsh/aliases/chp create mode 100644 .zsh/aliases/debbug create mode 100644 .zsh/aliases/debbugm create mode 100644 .zsh/aliases/dpkg-buildpackage create mode 100644 .zsh/aliases/genpw create mode 100644 .zsh/aliases/getpw create mode 100644 .zsh/aliases/mcd diff --git a/.zsh/aliases/bofh b/.zsh/aliases/bofh new file mode 100644 index 0000000..b5325e2 --- /dev/null +++ b/.zsh/aliases/bofh @@ -0,0 +1 @@ +fortune bofh-excuses diff --git a/.zsh/aliases/chp b/.zsh/aliases/chp new file mode 100644 index 0000000..171eb7e --- /dev/null +++ b/.zsh/aliases/chp @@ -0,0 +1 @@ +() { local p="$1" o="$2" g="$3"; shift 3; chmod "$p" "$@"; chown "$o":"$g" "$@"; } diff --git a/.zsh/aliases/debbug b/.zsh/aliases/debbug new file mode 100644 index 0000000..882dc6b --- /dev/null +++ b/.zsh/aliases/debbug @@ -0,0 +1 @@ +BROWSER=www-browser bts show diff --git a/.zsh/aliases/debbugm b/.zsh/aliases/debbugm new file mode 100644 index 0000000..4f5ccc2 --- /dev/null +++ b/.zsh/aliases/debbugm @@ -0,0 +1 @@ +bts show --mbox diff --git a/.zsh/aliases/dpkg-buildpackage b/.zsh/aliases/dpkg-buildpackage new file mode 100644 index 0000000..0aab914 --- /dev/null +++ b/.zsh/aliases/dpkg-buildpackage @@ -0,0 +1 @@ +$0 -k$DEBKEYID -rfakeroot diff --git a/.zsh/aliases/genpw b/.zsh/aliases/genpw new file mode 100644 index 0000000..bf2fba2 --- /dev/null +++ b/.zsh/aliases/genpw @@ -0,0 +1 @@ +() { diceware -s ${2:-0} | pass insert -e "$1"; pass -c "$1"; } diff --git a/.zsh/aliases/getpw b/.zsh/aliases/getpw new file mode 100644 index 0000000..c2dc8a8 --- /dev/null +++ b/.zsh/aliases/getpw @@ -0,0 +1 @@ +pass -c diff --git a/.zsh/aliases/mcd b/.zsh/aliases/mcd new file mode 100644 index 0000000..f1b6807 --- /dev/null +++ b/.zsh/aliases/mcd @@ -0,0 +1 @@ +() { mkdir -vp "$1" && cd "$1"; } -- 2.39.5