-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc
48 lines (40 loc) · 1.25 KB
/
.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
43
44
45
46
47
# ~/.bashrc: executed by bash(1) for non-login shells.
case $- in
*i*) ;;
*) return;;
esac
# Load each file from the .config/.bashrc.d directory
if [ -d $HOME/.config/bashrc.d ]; then
for file in $HOME/.config/bashrc.d/*.bash; do
source $file
done
fi
HISTCONTROL=ignoreboth
shopt -s histappend
HISTSIZE=1000
HISTFILESIZE=2000
shopt -s checkwinsize
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# enable programmable completion features (you don't need to enable
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/ptheywood/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/ptheywood/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/ptheywood/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/ptheywood/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<