dotfiles/.bash_rc.d/01.profile.sh

25 lines
605 B
Bash

export GOPATH=$HOME/lib/go
insert_path_element_before /usr/local/bin
insert_path_element_before /usr/local/go/bin
insert_path_element_before /opt/brew/bin
insert_path_element $GOPATH/bin
insert_path_element $HOME/.cabal/bin
insert_path_element /usr/texbin
insert_path_element $HOME/.cargo/bin
export ALTERNATE_EDITOR=""
export EDITOR="vim"
export TEXMFLOCAL=~/texmf/
export HISTORYSIZE=500000
export HISTIGNORE="&"
export HISTCONTROL=erasedups
export HISTFILESIZE=$HISTORYSIZE
export HISTSIZE=$HISTORYSIZE
shopt -s histappend
# turn on vi mode command line editing
set -o vi
export LC_ALL=en_US.UTF-8