mirror of
https://github.com/nikdoof/dotfiles.git
synced 2026-01-30 19:08:16 +00:00
Reorganise Bash
This commit is contained in:
@@ -38,7 +38,6 @@ if [ $(uname) == "Darwin" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Go stuff
|
# Go stuff
|
||||||
if [ -d /usr/local/go ]; then
|
if [ -d /usr/local/go ]; then
|
||||||
export GOROOT=/usr/local/go/
|
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
|
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
|
||||||
fi
|
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\] "
|
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
|
fi
|
||||||
|
|
||||||
# Source functions, if it exists
|
# Source functions, if it exists
|
||||||
if [ -e $HOME/.bash_functions ]; then
|
if [ -e $HOME/.bash/functions.bash ]; then
|
||||||
source $HOME/.bash_functions
|
source $HOME/.bash/functions.bash
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Source aliases, if it exists
|
# Source aliases, if it exists
|
||||||
if [ -e $HOME/.bash_aliases ]; then
|
if [ -e $$HOME/.bash/aliases.bash ]; then
|
||||||
source $HOME/.bash_aliases
|
source $HOME/.bash/aliases.bash
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# User specific environment
|
# User specific environment
|
||||||
|
|||||||
Reference in New Issue
Block a user