-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
53 lines (51 loc) · 2.01 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#
# .bash_profile
#
# Environment variables
PATH=$(getconf PATH)
PATH="/usr/local/bin:$HOME/bin:${GOPATH//://bin:}/bin:$HOME/.krew/bin:$PATH"
if [[ "$(uname)" == "Darwin" ]]; then
PATH="/usr/local/opt/coreutils/libexec/gnubin:/usr/local/bin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
fi
if [[ "$(uname)" == Linux ]]; then
PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:$PATH"
fi
export PATH="$PATH"
export GOPATH="$HOME/go"
export MANPAGER="less"
export GIT_PS1_SHOWDIRTYSTATE=1
export GIT_PS1_SHOWSTASHSTATE=1
export GIT_PS1_SHOWUNTRACKEDFILES=1
export GIT_PS1_SHOWUPSTREAM='verbose git'
export GIT_PS1_STATESEPARATOR=': '
export GIT_PS1_DESCRIBE_STYLE='branch'
export GIT_PS1_HIDE_IF_PWD_IGNORED=1
export CLICOLOR=1
export HISTSIZE=500
export HISTFILESIZE=500
export HISTCONTROL=ignoredups:erasedups
export HISTIGNORE="p:p[ \t]*"
export LESS_TERMCAP_mb=$(printf "\e[1;31m")
export LESS_TERMCAP_md=$(printf "\e[1;38;5;49m")
export LESS_TERMCAP_me=$(printf "\e[0m")
export LESS_TERMCAP_se=$(printf "\e[0m")
export LESS_TERMCAP_so=$(printf "\e[1;48;5;128m")
export LESS_TERMCAP_ue=$(printf "\e[0m")
export LESS_TERMCAP_us=$(printf "\e[1;38;5;11m")
export LESS='-KRSgis -j4 -#4 -P [?f%f:stdin.] ?lt?lbLines %lt-%lb..?L (%L).'
export FZF_DEFAULT_COMMAND='fd --type f --strip-cwd-prefix --hidden --exclude ".git/*" --exclude "*.swp"'
export FZF_DEFAULT_OPTS="
--reverse
--bind 'tab:down,btab:up'
--color 'bg+:#363a4f,bg:#24273a,spinner:#f4dbd6,hl:#60cc9a'
--color 'fg:#d2d4d9,header:#ed8796,info:#9dcaf5,pointer:#f4dbd6'
--color 'marker:#f4dbd6,fg+:#cad3f5,prompt:#c6a0f6,hl+:#9bebc7'"
export FZF_COMPLETION_OPTS='--preview "bat --style=numbers --color=always --line-range :500 {} 2>/dev/null"'
export FZF_COMPLETION_TRIGGER='jj'
export FZF_TMUX_OPTS='-p 80%'
export THEFUCK_WAIT_COMMAND=3
export THEFUCK_HISTORY_LIMIT='200'
export BASH_SILENCE_DEPRECATION_WARNING=1
export LS_COLORS=$(vivid generate catppuccin-latte)
# Load .bashrc
[[ -f $HOME/.bashrc ]] && source "$HOME/.bashrc"