Last active
June 18, 2019 01:44
-
-
Save yudapc/e8c000d4caf811ffab8697de831c7455 to your computer and use it in GitHub Desktop.
Can not open vi on your terminal, because wrong PATH
This file contains hidden or 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
I have ever can not open vi or vim or my bash does not work. | |
I remember what I did. | |
Because I changed PATH on ~/.zshrc :D | |
So, for restore you can run this command: | |
`export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment