[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/statquant/dotfiles/master/.bashrc [Back]  [Original]

# 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
# 

Web Proxy Viewer  |  New URL  |  Original Page