From 5375dff58a6f0125725adbdf05ff0b7b5f14dbf5 Mon Sep 17 00:00:00 2001 From: Morgan Wattiez Date: Sat, 17 Aug 2019 00:30:25 +0200 Subject: [PATCH] add tldr alternative to help --- Brewfile | 2 ++ centos.sh | 3 +++ dot_zsh_aliases | 1 + 3 files changed, 6 insertions(+) diff --git a/Brewfile b/Brewfile index 45f9a11..6c1d38a 100644 --- a/Brewfile +++ b/Brewfile @@ -90,3 +90,5 @@ brew "fzf" brew "diff-so-fancy" # add nice disk usage brew "ncdu" +# add tldr alternative to help +brew "tldr" diff --git a/centos.sh b/centos.sh index 55c5c74..890b96b 100644 --- a/centos.sh +++ b/centos.sh @@ -205,3 +205,6 @@ curl https://raw.githubusercontent.com/so-fancy/diff-so-fancy/master/third_party # Install nice disk usage 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 diff --git a/dot_zsh_aliases b/dot_zsh_aliases index e7a24c8..a49b139 100644 --- a/dot_zsh_aliases +++ b/dot_zsh_aliases @@ -94,6 +94,7 @@ alias biggerthan10='biggerthan 10M' alias latency='curl cheat.sh/latency' alias moon='curl wttr.in/Moon' alias lune='moon' +alias help='tldr' # Show/hide hidden files in Finder alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"