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
export GOPATH=$HOME/Workspace/Go | |
export PATH="$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
export PATH="$PATH:/usr/local/go/bin:$GOPATH/bin" | |
plugins=(brew catimg colored-man colorize cp d extract git osx pip python sudo virtualenv z zsh-autosuggestions) |
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
## Check params number is 1 | |
if [ "$#" -ne 1 ]; then | |
echo "Number of parameters is not one" | |
exit | |
fi | |
## Check a variable is empty |