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