Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
Make sure that GOPATH is defined in the environment for bash
Browse files Browse the repository at this point in the history
  • Loading branch information
beanpole135 committed Apr 24, 2020
1 parent 8d6986b commit 2b7f48b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions void-files/etc/bash/bashrc.d/trident.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
if [ "${USER}" = "root" ] ; then
export PS1="\[\e[31m\]\u\[\e[m\]|\[\e[36m\]\w\[\e[m\]> "
export GOPATH=/root/.go
else
export PS1="\[\e[34m\]\u\[\e[m\]|\[\e[36m\]\w\[\e[m\]> "
export GOPATH=${HOME}/.local/go
fi
alias about="neofetch"
alias ls="ls --color"
Expand Down

0 comments on commit 2b7f48b

Please sign in to comment.