add tldr alternative to help

This commit is contained in:
Morgan Wattiez 2019-08-17 00:30:25 +02:00
parent dfb5184bf1
commit 5375dff58a
3 changed files with 6 additions and 0 deletions

View File

@ -90,3 +90,5 @@ brew "fzf"
brew "diff-so-fancy" brew "diff-so-fancy"
# add nice disk usage # add nice disk usage
brew "ncdu" brew "ncdu"
# add tldr alternative to help
brew "tldr"

View File

@ -205,3 +205,6 @@ curl https://raw.githubusercontent.com/so-fancy/diff-so-fancy/master/third_party
# Install nice disk usage # Install nice disk usage
yum -y install ncdu yum -y install ncdu
# Install tldr alternative to help
curl https://raw.githubusercontent.com/raylee/tldr/master/tldr > /usr/local/bin/tldr && chmod +x /usr/local/bin/tldr

View File

@ -94,6 +94,7 @@ alias biggerthan10='biggerthan 10M'
alias latency='curl cheat.sh/latency' alias latency='curl cheat.sh/latency'
alias moon='curl wttr.in/Moon' alias moon='curl wttr.in/Moon'
alias lune='moon' alias lune='moon'
alias help='tldr'
# Show/hide hidden files in Finder # Show/hide hidden files in Finder
alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder" alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"