Last active
October 6, 2021 15:25
-
-
Save MrAnyx/f9e659528e12ef77d35e02aaee4ce40c to your computer and use it in GitHub Desktop.
Access homestead command from anywhere on windows
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
| function homestead() { | |
| ( cd <homestead-directory-path> && vagrant $* ) | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
create an
.bashrcfile on your user directory. Usually, this directory is located inC:\Users\<your-user>Type in the following function :
Save the file
C:\data\homesteadthen, is this<homestead-directory-path>you should type/c/data/homesteadvagrant uporvagrant sshby typinghomestead uporhomestead ssh