Created
October 6, 2014 12:46
-
-
Save mollifier/45f2521097f1e0b927be to your computer and use it in GitHub Desktop.
zshで存在しないコマンドを実行しようとしたときはlsを行うようにする
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# これを.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