Adam Richardson's Site

Bash Config

Table of Contents

<2022-05-01 Sun>

Environment Variables

export GOPATH=$HOME/go

export PATH=$PATH:$HOME/.local/bin
export PATH=$PATH:$GOPATH/bin

export DOTNET_CLI_TELEMETRY_OPTOUT=1

export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin

source $HOME/.bash_env

bashrc

#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

# Customization begins here
export LD_LIBRARY_PATH=$HOME/.local/lib

export GOPATH=$HOME/go

export PATH=$PATH:$HOME/.local/bin
export PATH=$PATH:$GOPATH/bin

export DOTNET_CLI_TELEMETRY_OPTOUT=1

export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin

source $HOME/.bash_env

export EDITOR=mg

bash_env

This creates a .bashenv.example that should be renamed to .bashenv and filled out.

#!/bin/sh

# This file is an example and should be renamed to .bash_env
# Fill in values for each of the variables

# server used by the backup script
export BACKUP_SERVER=

# location on the server where the backups should go
export BACKUP_SERVER_PATH=

# latitude and longitude used for redshift
# use geonames.org to find a given locations latitude and longitude
# example, using Louisville, KY lat/lon: `export RED_SHIFT_LAT_LONG=38.25424:-85.75941`
export RED_SHIFT_LAT_LONG=

profile

export GOPATH=$HOME/go

export PATH=$PATH:$HOME/.local/bin
export PATH=$PATH:$GOPATH/bin

export DOTNET_CLI_TELEMETRY_OPTOUT=1

export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin

source $HOME/.bash_env

xsessionrc

export GOPATH=$HOME/go

export PATH=$PATH:$HOME/.local/bin
export PATH=$PATH:$GOPATH/bin

export DOTNET_CLI_TELEMETRY_OPTOUT=1

export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin

source $HOME/.bash_env