50 macOS Tips and Tricks Using Terminal (the last one is CRAZY!)
OpenyourTerminal.·Makeanaliasofhistorytoshowsincethefirstcommand,type:echo'aliashistory=history1'>>~/.zshrc·Sourceyour ...,IntheTerminaljusttypevi~/.bash_history,theneditthefileasyouwant,andsave.Thisoptioncouldbetricky,ifyou'renotusedtovi, ...,Ev...。參考影片的文章的如下: