2017-02-19から1日間の記事一覧
zshでhistory -cをすると以下の内容が出力される. % history -c history: bad option: -c そういう仕様なのか知らんが,-cオプションが効かないっぽい. なのでzshrcに次のaliasを書く. alias hc='rm -f ~/.zsh_history && exec -l $SHELL' hcコマンドで履…
zshでhistory -cをすると以下の内容が出力される. % history -c history: bad option: -c そういう仕様なのか知らんが,-cオプションが効かないっぽい. なのでzshrcに次のaliasを書く. alias hc='rm -f ~/.zsh_history && exec -l $SHELL' hcコマンドで履…