dotfiles/bashrc

68 lines
1.6 KiB
Bash
Raw Normal View History

2018-10-18 06:00:19 -04:00
# .bashrc
2019-09-28 18:33:55 -04:00
~/src/repos/edr/pfetch/pfetch
2018-10-18 06:00:19 -04:00
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
2018-10-20 07:50:19 -04:00
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
2018-10-18 06:00:19 -04:00
if [ -f `which powerline-daemon` ]; then
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/share/powerline/bash/powerline.sh
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
# pyenv setup
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
eval "$(pyenv virtualenv-init -)"
# rbenv setup
export PATH="$HOME/.rbenv/bin:$PATH"
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
eval "$(rbenv init -)"
# nvm setup
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# go setup
export GOPATH=$HOME/go
# msssql server setup
export PATH="$PATH:/opt/mssql-tools/bin"
2019-04-28 16:36:15 -04:00
# Deno
export PATH="$PATH:$HOME/.deno/bin/"
2018-10-18 06:00:19 -04:00
export VISUAL=nvim
export VIMCONFIG=~/.vim
export VIMDATA=~/.vim
export FZF_DEFAULT_COMMAND="rg --files"
2018-10-19 05:40:37 -04:00
2018-10-18 06:00:19 -04:00
alias dnfupdate='sudo dnf update -y'
alias src="cd /home/$USER/src/"
2018-10-20 07:50:19 -04:00
alias blogsrc="cd /home/$USER/src/repos/edr/ericrohler_static/"
alias dotfilesrc="cd /home/$USER/src/repos/edr/dotfiles/"
2019-05-15 04:39:30 -04:00
###-tns-completion-start-###
if [ -f /home/eric/.tnsrc ]; then
source /home/eric/.tnsrc
fi
###-tns-completion-end-###
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
2020-12-24 10:33:42 -05:00