Skip to content

Instantly share code, notes, and snippets.

@mollifier
Created October 6, 2014 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mollifier/45f2521097f1e0b927be to your computer and use it in GitHub Desktop.
Save mollifier/45f2521097f1e0b927be to your computer and use it in GitHub Desktop.
zshで存在しないコマンドを実行しようとしたときはlsを行うようにする
# これを.zshrcに書く
function command_not_found_handler() {
shift
ls "$@"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment