Created
September 22, 2020 08:44
-
-
Save pascalbaljet/01eb3b5822d2a7fa801cdeb82df43072 to your computer and use it in GitHub Desktop.
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
openvalet() { | |
DIR=$(basename "$PWD") | |
open "http://$DIR.test" | |
} | |
vscode() { | |
if [ -z "$1" ] | |
then | |
code -n . | |
else | |
code -n $1 | |
fi | |
} | |
sublime() { | |
if [ -z "$1" ] | |
then | |
/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl . | |
else | |
/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl $1 | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment