diff options
Diffstat (limited to '.shenanigans.sh')
| -rwxr-xr-x | .shenanigans.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.shenanigans.sh b/.shenanigans.sh index 7738514..10fa8bf 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh | |||
| @@ -12,14 +12,13 @@ | |||
| 12 | # Only run if the script is being sourced (bashrc). | 12 | # Only run if the script is being sourced (bashrc). |
| 13 | if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then | 13 | if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then |
| 14 | # Magical environment variables. | 14 | # Magical environment variables. |
| 15 | export LANG=en_US.UTF-8 | ||
| 16 | export LC_ALL=en_US.UTF-8 | ||
| 15 | export COLORTERM=truecolor | 17 | export COLORTERM=truecolor |
| 16 | export TERM=xterm-256color | 18 | export TERM=xterm-256color |
| 17 | export VISUAL=vim | 19 | export VISUAL=vim |
| 18 | export EDITOR=vim | 20 | export EDITOR=vim |
| 19 | 21 | ||
| 20 | export LANG=en_US.UTF-8 | ||
| 21 | export LC_ALL=en_US.UTF-8 | ||
| 22 | |||
| 23 | # Customized Bash prompt. | 22 | # Customized Bash prompt. |
| 24 | SYMBOL='\[\e[38;5;214m\]\$\[\e[0m\]' | 23 | SYMBOL='\[\e[38;5;214m\]\$\[\e[0m\]' |
| 25 | git_branch() { git branch 2>/dev/null | sed -n 's/^\* \(.*\)/(\1)/p'; } | 24 | git_branch() { git branch 2>/dev/null | sed -n 's/^\* \(.*\)/(\1)/p'; } |
