-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc
More file actions
36 lines (28 loc) · 900 Bytes
/
.bashrc
File metadata and controls
36 lines (28 loc) · 900 Bytes
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
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# set a colored PS1 if TERM supports it
case "$TERM" in
alacritty|xterm-color|*-256color) PS1='\[\e[91;1;2m\]\u@\h\[\e[0m\]:\[\e[96m\]\w\[\e[0m\]\$ ';;
*) PS1='[\u@\h \W]\$ ';;
esac
# History settings
HISTCONTROL=ignoreboth
shopt -s histappend
HISTSIZE=10000
HISTFILESIZE=100000
shopt -s cmdhist
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
[[ -f "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"
[[ -f "$HOME/.asdf/asdf.sh" ]] && . "$HOME/.asdf/asdf.sh"
[[ -f "$HOME/.asdf/completions/asdf.bash" ]] && . "$HOME/.asdf/completions/asdf.bash"
command -v uv &>/dev/null && eval "$(uv generate-shell-completion bash)"
[[ -f /etc/profile.d/google-cloud-cli.sh ]] && source /etc/profile.d/google-cloud-cli.sh
# AWS
export AWS_REGION=ap-northeast-1
# uv
export PATH="$HOME/.local/bin:$PATH"