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
#-------------------------------------------------------- | |
# ~/.bash_profile - executed by bash for login shells | |
#-------------------------------------------------------- | |
# Include .bashrc if it exists | |
if [ -f ~/.bashrc ]; then | |
. ~/.bashrc | |
fi |
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
#-------------------------------------------------------- | |
# Customize bash for interactive shells | |
#-------------------------------------------------------- | |
# Source global definitions (if any) | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
# Environment variable exports (if any) |
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
#!/bin/bash -l | |
# Save this file in /usr/local/bin and chmod a+x for easy access | |
# Execute gohere to switch $GOPATH to current directory | |
# Type exit to switch back | |
# Example usage: | |
# $ echo $GOPATH | |
# |
NewerOlder