-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bashrc
70 lines (59 loc) · 1.62 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH
# User specific aliases and functions
if [ -d ~/.bashrc.d ]; then
for rc in ~/.bashrc.d/*; do
if [ -f "$rc" ]; then
. "$rc"
fi
done
fi
unset rc
if [ -f "$HOME/.bash_aliases" ] ; then
source $HOME/.bash_aliases
fi
# native
if [ -f "$HOME/.fzf.bash" ] ; then
source ~/.fzf.bash
fi
# useful for powerline, nvim, ...
export XDG_CONFIG_HOME=${HOME}/.config
# 20190825
# https://fedoramagazine.org/add-power-terminal-powerline/
if [ -f `which powerline-daemon` ]; then
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
source /usr/share/powerline/bash/powerline.sh
fi
# add nvim
# installed neovim through dnf
# export PATH=${HOME}/.local/share/nvim/:${PATH}
# add Scripts directory
export PATH=${HOME}/Scripts/:${PATH}
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
#__conda_setup="$('/home/statquant/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
#if [ $? -eq 0 ]; then
# eval "$__conda_setup"
#else
# if [ -f "/home/statquant/miniconda3/etc/profile.d/conda.sh" ]; then
# . "/home/statquant/miniconda3/etc/profile.d/conda.sh"
# else
# export PATH="/home/statquant/miniconda3/bin:$PATH"
# fi
#fi
#unset __conda_setup
# <<< conda initialize <<<
# required while trying to install vim - jupyter stuff
#export PATH=${HOME}/.local/lib/python3.9/site-packages/bin:${PATH}
# q
#export QHOME=${HOME}/miniconda3/q/