Last active
April 1, 2020 02:41
-
-
Save lepig/b519d4a3ee5e1762ee5a5870317036bb to your computer and use it in GitHub Desktop.
zsh alias settings
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 hs() { | |
( cd ~/Homestead && vagrant $* ) | |
} | |
function proxy() { | |
export http_proxy=http://127.0.0.1:1080 | |
export https_proxy=$http_proxy | |
echo "Done" | |
} | |
function disproxy() { | |
unset http_proxy https_proxy | |
echo "Has Disabled" | |
} | |
function ggg() { | |
CURR_DATE=$(date +'%Y-%m-%d %H:%M:%S') | |
#print $CURR_DATE | |
git commit -v -am "$CURR_DATE" && git pull --rebase -v && git push -v | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment