From ced6ed81c51519af239b67cf0d276796440aedd3 Mon Sep 17 00:00:00 2001 From: xero Date: Mon, 23 Jan 2017 09:05:27 -0500 Subject: update zsh --- zsh/.zsh/aliases.zsh | 1 + zsh/.zsh/banner.zsh | 61 ++++++++++++++++++++++++++++++++-------------------- 2 files changed, 39 insertions(+), 23 deletions(-) diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh index 6433d47..8fe9d93 100755 --- a/zsh/.zsh/aliases.zsh +++ b/zsh/.zsh/aliases.zsh @@ -45,6 +45,7 @@ alias gp="git push" alias gu="git unstage" alias gg="git graph" alias gco="git checkout" +alias gcs="git commit -S -m" alias gpr="hub pull-request" alias ag="ag --color --color-line-number '0;35' --color-match '46;30' --color-path '4;36'" alias tree='tree -CAFa -I "CVS|*.*.package|.svn|.git|.hg|node_modules|bower_components" --dirsfirst' diff --git a/zsh/.zsh/banner.zsh b/zsh/.zsh/banner.zsh index 14beb7b..9c2903b 100755 --- a/zsh/.zsh/banner.zsh +++ b/zsh/.zsh/banner.zsh @@ -1,10 +1,26 @@ -#!/bin/sh - +# ██ +# ░██ +# ██████ ██████░██ +# ░░░░██ ██░░░░ ░██████ +# ██ ░░█████ ░██░░░██ +# ██ ░░░░░██░██ ░██ +# ██████ ██████ ░██ ░██ +# ░░░░░░ ░░░░░░ ░░ ░░ +# +# ▓▓▓▓▓▓▓▓▓▓ +# ░▓ author ▓ xero +# ░▓ code ▓ http://code.xero.nu/dotfiles +# ░▓ mirror ▓ http://git.io/.files +# ░▓▓▓▓▓▓▓▓▓▓ +# ░░░░░░░░░░ +# +#█▓▒░ pick a random number _RAND=`shuf -i1-10 -n1` +#█▓▒░ display a random ascii banner case $_RAND in 1) -cat << XERO +cat << X0 : |\\____.____ .______._______. ._____| / _/__ _|_ / \\ |__ @@ -15,10 +31,10 @@ cat << XERO \\_____/ \\______/ \\______/\\______/ x0^b7^imp! -XERO +X0 ;; 2) -cat << XERO +cat << X0 : |\\_____.____ /\\_____.________. ._____| / _/___ _/_ / \\ _ |__ @@ -28,10 +44,10 @@ cat << XERO \\_____l \\______/ l_______/\\_______/ x0^b7^imp! -XERO +X0 ;; 3) -cat << XERO +cat << X0 . ____/|______.____ /\\_____.________. \\ | / _/___ _/_ / \\ _ |__ @@ -41,10 +57,10 @@ cat << XERO \\_____l____ /\\______/ l_______/\\_______/ \\/ x0^b7^imp! -XERO +X0 ;; 4) -cat << XERO +cat << X0 ____ _ . . _ ___ \\ \\ ___/\\ _____ /\\______ ____/\\ ___/\\ @@ -56,10 +72,10 @@ cat << XERO _\\ | /_ \\ / -XERO +X0 ;; 5) -cat << XERO +cat << X0 ___/\\ _____ /\\______ ____/\\ ___/\\ \\ _ \\/ .://.:\\____//_\\_. \\ /./__ \\ @@ -68,10 +84,10 @@ cat << XERO /____/\\ __\\/__ //______| /\\_______/ \\/ \\/ |/x0^b7^imp! -XERO +X0 ;; 6) -cat << XERO +cat << X0 _________/\\________________________________/\\_______ \\ / /\\_______ /______ /\\/ \\__ \\ @@ -82,10 +98,10 @@ cat << XERO \\ / \\ / x0^b7^imp! \\/ \\/ -XERO +X0 ;; 7) -cat << XERO +cat << X0 ________ /\\________________________________/\\_______ \\ / _________ _______ __/ \\__ \\ @@ -96,10 +112,10 @@ cat << XERO \\ / \\ / x0^b7^imp! \\/ \\/ -XERO +X0 ;; 8) -cat << XERO +cat << X0 :_____ _________ __________ _______. ______| \\__/ ___ \\ _/ ___ \\ / |__ @@ -112,10 +128,10 @@ cat << XERO \\/ ____|_____/ \\____________/\\_______ \\/ /\\_______\\/ / \\/ : x0^b7^imp! \\/ \\/ -XERO +X0 ;; 9) -cat << XERO +cat << X0 :_____ _________ __________ _______. ______| \\__/ ___ \\ _/ ___ \\ / |__ @@ -128,10 +144,10 @@ cat << XERO \\/ ____|_____/ \\_______/ \\_____ \\/ / \\____\\/ / \\/ : x0^b7^imp! \\/ \\/ -XERO +X0 ;; 10) -cat << XERO +cat << X0 _____ _____ \\ \\ / /_________ ___________ _____________ \\ \\ / /\\\\ / _\\ __ /_\\\\ __ / @@ -141,7 +157,6 @@ cat << XERO / / \\_____\\_______/ \\ \\__________// \\_____\\\\ //_____/ x0^b7^imp! -XERO +X0 ;; esac - -- cgit v1.2.1