Skip to content

Instantly share code, notes, and snippets.

@yicr
Created March 4, 2020 11:59
Show Gist options
  • Save yicr/070561a0e5f9dd678d4f105f529bb716 to your computer and use it in GitHub Desktop.
Save yicr/070561a0e5f9dd678d4f105f529bb716 to your computer and use it in GitHub Desktop.
コマンド 説明
HISTCONTROL=ignoredups 同じコマンドが連続する場合は1回だけ記録する
HISTCONTROL=ignorespace コマンドの頭にスペースを付けて実行すると記録しない
HISTCONTROL=ignoreboth 上記2つどちらも設定する
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment