From 78fffa02c6dd964a190c80e9a13b6ee5aefef002 Mon Sep 17 00:00:00 2001 From: Joty Date: Thu, 26 Jul 2018 14:47:06 +0930 Subject: [PATCH] =?UTF-8?q?Added=20cheat.sh=20(^=EF=BD=A5o=EF=BD=A5^)?= =?UTF-8?q?=EF=BE=89=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .zshrc | 9 ++++++++- README.md | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 51e97c4..77ca1f7 100644 --- a/.zshrc +++ b/.zshrc @@ -135,6 +135,13 @@ SAVEHIST=50000 #save upto 50,000 lines in history. oh-my-zsh default is 10, #setopt hist_ignore_all_dups # dont record duplicated entries in history during a single session alias wip="wget -qO- https://wtfismyip.com/text" # quickly show external ip address alias l="ls -lah" -https() { # make httpie use https by default + +https() { # make httpie use https http https://$1 $2 $3 $4 $5 $6 $7 $8 $9 $10 } + +# cheat sheets (github.com/chubin/cheat.sh), find out how to use commands +# example 'cheat tar' +cheat() { + curl https://cheat.sh/$1 $2 $3 $4 $5 $6 $7 $8 $9 $10 +} diff --git a/README.md b/README.md index 1bd9fc9..e8d67f6 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Quickly install and setup zsh and oh-my-zsh (https://github.com/robbyrussell/oh- * k (https://github.com/supercrabtree/k) * marker (https://github.com/pindexis/marker) * todotxt (https://github.com/todotxt/todo.txt-cli) +* cheat.sh (https://github.com/chubin/cheat.sh) just an alias is all we need All oh-my-zsh plugins are installed under ~/.oh-my-zsh Other tools (fzf,marker,todo) are installed in ~/.quickzsh