-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_bashrc
43 lines (34 loc) · 1.35 KB
/
dot_bashrc
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
export TMPDIR="/tmp"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_BIN_HOME="$HOME/bin"
if test $(uname -s) = "Darwin"; then
export PATH="$PATH:/usr/local/opt/coreutils/libexec/gnubin"
export PATH="$PATH:/usr/local/opt/gnu-sed/libexec/gnubin"
fi
export PATH="$PATH:$HOME/.rvm/bin"
export PATH="$PATH:$XDG_CONFIG_HOME/git/bin"
export EDITOR="/usr/bin/vim"
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
export LESS="--ignore-case --LONG-PROMPT --RAW-CONTROL-CHARS --tabs=4 --window=-4"
export FZF_DEFAULT_OPTS="\
--ansi --no-bold \
--marker='*' \
--height 40% \
--cycle \
--layout=reverse --preview-window=wrap"
export FZF_TMUX_DEFAULT_OPTS='-p 75%'
export FZF_DEFAULT_COMMAND='fd --type=file --type=directory --hidden --color=always .'
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
export RIPGREP_CONFIG_PATH="$XDG_CONFIG_HOME/ripgreprc"
export GNUPGHOME="$HOME/.gnupg"
export CURL_HOME="$XDG_CONFIG_HOME/curl"
###################################
# Interactive mode configurations #
###################################
[[ ! $PS1 ]] || [ "$0" = "$BASH_SOURCE" ] || [[ -n $ZSH_EVAL_CONTEXT && $ZSH_EVAL_CONTEXT =~ :file$ ]] && return
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
eval "$(starship init bash)"
#export GPG_TTY="$( tty )"
export BASH_SILENCE_DEPRECATION_WARNING=1