config/bash/.profile

62 lines
1.4 KiB
Text
Raw Normal View History

source ~/.bash_helpers.sh
2011-06-26 03:03:37 +00:00
set_prompt
configure_ls
configure_completions
alias vim="nvim"
alias notes="vim ~/notes.md"
2019-03-12 21:38:21 +00:00
alias vw="vimwiki"
alias update_configs="cd ~/Code/ntietz/config; git pull; cd -; source ~/.profile"
2011-06-28 00:00:15 +00:00
# default editor
export EDITOR=vim
# set history
export HISTSIZE=1000000 # very large history
export HISTFILESIZE=10000000 # very large history
export HISTCONTROL=ignoreboth:erasedups # ignore duplicate history entries
shopt -s histappend # append to the history when the shell exits (instead of overwriting)
2011-06-28 00:00:15 +00:00
2011-11-22 02:26:43 +00:00
# disable messaging
if `tty -s`; then
mesg n
fi
2011-11-22 02:26:43 +00:00
2020-08-18 15:30:49 +00:00
export PATH="$HOME/.local/bin:$HOME/.bin:$HOME/go/bin:$PATH"
export TERM=xterm-256color
2020-12-14 13:55:50 +00:00
#export TERM=xterm-256color
if [ -d "$HOME/.pyenv" ] && [ -z ${PYENV_SHELL+x} ]
2018-07-23 14:24:12 +00:00
then
export PATH="$HOME/.pyenv/bin:$PATH"
2018-07-23 14:24:12 +00:00
eval "$(pyenv init -)"
2019-03-12 16:04:12 +00:00
export PYENV_ROOT="$HOME/.pyenv"
2018-07-23 14:24:12 +00:00
fi
2018-08-15 18:57:35 +00:00
if [ -x "$(command -v gcloud)" ] && [ -f "$HOME/.install/google-cloud-sdk" ]
2018-08-15 18:52:48 +00:00
then
source $HOME/.install/google-cloud-sdk/completion.bash.inc
source $HOME/.install/google-cloud-sdk/path.bash.inc
fi
if [ -x "$(command -v yarn)" ] && [ -d "$HOME/.yarn/bin" ]
then
export PATH="/home/nicholas/.yarn/bin:$PATH"
fi
alias iex="iex --erl \"-kernel shell_history enabled\""
2018-05-28 21:02:56 +00:00
if [ -f /usr/local/etc/bash_completion ]
then
. /usr/local/etc/bash_completion
fi
2017-09-15 14:49:29 +00:00
2020-05-02 22:48:06 +00:00
export PATH="$HOME/.cargo/bin:$PATH"
2020-01-02 11:38:04 +00:00
export PATH="$HOME/.poetry/bin:$PATH"
2021-05-06 19:38:04 +00:00
export PATH=$PATH:/usr/local/go/bin
2020-04-17 13:53:04 +00:00
2020-12-14 13:55:50 +00:00
export SHELL=/bin/bash