Skip to content

Instantly share code, notes, and snippets.

@IvanAlekseevichPopov
Last active July 16, 2017 15:04
Show Gist options
  • Select an option

  • Save IvanAlekseevichPopov/d7dc3030da316867593ea8fcc6f0c2cb to your computer and use it in GitHub Desktop.

Select an option

Save IvanAlekseevichPopov/d7dc3030da316867593ea8fcc6f0c2cb to your computer and use it in GitHub Desktop.
.bashrc with GOPATH, history comfortable and Instantly stored
alias go="~/go/bin/go"
export GOROOT=/home/ivan/go
export GOPATH=/home/ivan/go/packages
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
export HISTTIMEFORMAT="%h %d %H:%M:%S "
export HISTFILESIZE=10000
shopt -s histappend
PROMPT_COMMAND='history -a'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment