Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit a6aab65b authored by dleurs's avatar dleurs
Browse files

first commit

parents
No related branches found
No related tags found
No related merge requests found
# ALIASES
alias gof="cd /Users/dle/Documents/Flutter"
# FUNCTIONS
push() {
if [ $# -eq 0 ];
then
echo "No arguments supplied. You should use push \"initial commit\" [origin by default, else origin-froggit for both]";
else
commitMessage=$1
if [ "$commitMessage" = "" ];
then
echo "No commit message";
else
echo "\ngit add -A;\n";
git add -A;
echo "\ngit commit -m \"${commitMessage}\";\n";
git commit -m $commitMessage;
if [ $# -eq 1 ];
then
echo "\ngit push origin master;\n";
git push origin master;
else
if [ "$2" = "origin-froggit" ];
then
echo "\ngit push origin master;\n";
git push origin master;
echo "\ngit push froggit master;\n";
git push froggit master;
fi
fi
fi
fi
}
# PATH
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
export PATH="$PATH:/Applications/Sublime Text.app/Contents/SharedSupport/bin"
export PATH="$PATH:/Users/dle/Documents/Flutter/Software/flutter/bin"
# DEFAULT ZSHRC STUFF
...
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment