alias to pick a random man page

This commit is contained in:
Morgan Wattiez 2019-08-08 14:17:06 +02:00
parent e02a11e074
commit 71c8dfa7b9

View File

@ -67,6 +67,7 @@ alias c='cat'
alias x='extract' alias x='extract'
alias current_year='`echo date +"%Y"`' alias current_year='`echo date +"%Y"`'
alias meteo='weather' alias meteo='weather'
alias learnmore="apropos . | sort --random-sort | awk 'NR == 1 {print$1}' | cut -d'(' -f 1 | xargs man"
# 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"