mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-13 09:42:27 +00:00
Reorganise Bash
This commit is contained in:
@@ -38,7 +38,6 @@ if [ $(uname) == "Darwin" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# Go stuff
|
||||
if [ -d /usr/local/go ]; then
|
||||
export GOROOT=/usr/local/go/
|
||||
@@ -46,4 +45,9 @@ if [ -d /usr/local/go ]; then
|
||||
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
|
||||
fi
|
||||
|
||||
# https://github.com/oz/tz
|
||||
if [ -f $HOME/go/bin/tz ]; then
|
||||
export TZ_LIST="America/New_York,America/Los_Angeles,Europe/Paris"
|
||||
fi
|
||||
|
||||
export PS1="\[\e[0;90m\][\[\e[0;37m\]\u\[\e[0;37m\]@\[\e[0;37m\]\H\[\e[0;90m\]] \[\e[0;90m\](\[\e[0;37m\]\W\[\e[0;90m\]) \[\e[0;37m\]\$\[\e[0m\] "
|
||||
|
||||
@@ -6,13 +6,13 @@ if [ -f /etc/bashrc ]; then
|
||||
fi
|
||||
|
||||
# Source functions, if it exists
|
||||
if [ -e $HOME/.bash_functions ]; then
|
||||
source $HOME/.bash_functions
|
||||
if [ -e $HOME/.bash/functions.bash ]; then
|
||||
source $HOME/.bash/functions.bash
|
||||
fi
|
||||
|
||||
# Source aliases, if it exists
|
||||
if [ -e $HOME/.bash_aliases ]; then
|
||||
source $HOME/.bash_aliases
|
||||
if [ -e $$HOME/.bash/aliases.bash ]; then
|
||||
source $HOME/.bash/aliases.bash
|
||||
fi
|
||||
|
||||
# User specific environment
|
||||
|
||||
Reference in New Issue
Block a user