-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
36 lines (30 loc) · 1.06 KB
/
.bash_profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# Customization
#
# Molokai Theme: https://github.com/lysyi3m/macos-terminal-themes
# GIT FUNCTIONS
git_branch() {
git branch 2>/dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
# TERMINAL PROMPT
#PS1="\[\e[0;93m\]\u\[\e[m\] " # username
#PS1+="\[\e[0;95m\]\W\[\e[m\]" # current directory
#PS1+="\[\e[0;92m\]\$(git_branch)\[\e[m\]" # current branch
#PS1+=" >> " # end prompt
PS1="\[\e[0;31m\]\u\[\e[m\] " # username
PS1+="\[\e[0;32m\]\W\[\e[m\]" # current directory
PS1+="\[\e[0;33m\]\$(git_branch)\[\e[m\]" # current branch
PS1+=" >> " # end prompt
export PS1;
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
export BASH_SILENCE_DEPRECATION_WARNING=1
export PATH="$HOME/.cargo/bin:$PATH"
export PATH="/usr/local/opt/icu4c/bin:$PATH"
export PATH="/usr/local/opt/icu4c/sbin:$PATH"
export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"
# ALIAS
alias ll="ls -la"
[ -f "/Users/andrewtian/.ghcup/env" ] && source "/Users/andrewtian/.ghcup/env" # ghcup-env
eval "$(/opt/homebrew/bin/brew shellenv)"
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"