Added cheat.sh (^・o・^)ノ”
This commit is contained in:
9
.zshrc
9
.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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user