-
Notifications
You must be signed in to change notification settings - Fork 1
/
bashrc.sh
23 lines (16 loc) · 899 Bytes
/
bashrc.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# RC file for bash
# Source global RC file
[[ -f $HOME/.globalrc ]] && source $HOME/.globalrc
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# Set prompt
export PS1="\[\033[38;5;13m\][\[$(tput sgr0)\]\[\033[38;5;10m\]\$?\[$(tput sgr0)\]\[\033[38;5;13m\]]\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;39m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\[$(tput sgr0)\]\[\033[38;5;11m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;14m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;2m\]\\$\[$(tput sgr0)\]\[\033[38;5;15m\]\n\[$(tput sgr0)\]"
# Enable bash completion
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
# Direnv support
eval "$(direnv hook bash)"
source /Users/mplanchard/.ghcup/env
source /Users/mplanchard/github/jwilm/alacritty/extra/completions/alacritty.bash