2019-07-11 13:26:24 +02:00
|
|
|
# Add our scripts to the path
|
2019-07-17 16:03:32 +02:00
|
|
|
export PATH="$HOME/scripts:$PATH"
|
2019-07-11 13:26:24 +02:00
|
|
|
|
|
|
|
# Export our favorite editor
|
|
|
|
export EDITOR=vim
|
|
|
|
export VISUAL=$EDITOR # Also use it when asking for a GUI
|
2019-07-13 03:22:04 +02:00
|
|
|
# Export our terminal for i3-sensible-terminal
|
|
|
|
export TERMINAL=termite
|
2019-07-11 13:26:24 +02:00
|
|
|
|
2019-07-14 07:12:53 +02:00
|
|
|
# Use my own ranger config file with all mappings defined
|
|
|
|
export RANGER_LOAD_DEFAULT_RC=FALSE
|
|
|
|
|
2019-07-11 13:26:24 +02:00
|
|
|
# Color ls output depending on filetype with dircolors
|
|
|
|
[ -e "/etc/DIR_COLORS" ] && DIR_COLORS="/etc/DIR_COLORS"
|
|
|
|
[ -e "$HOME/.dircolors" ] && DIR_COLORS="$HOME/.dircolors"
|
|
|
|
[ -e "$DIR_COLORS" ] || DIR_COLORS=""
|
|
|
|
eval "`dircolors -b $DIR_COLORS`"
|
|
|
|
|
2019-10-02 17:46:18 +02:00
|
|
|
# Use less as my default pager
|
|
|
|
export PAGER=less
|
|
|
|
# Allow for colorful man pages, clear the screen on exit
|
|
|
|
export LESS='-R -+X'
|
2019-07-11 13:26:24 +02:00
|
|
|
export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink
|
|
|
|
export LESS_TERMCAP_md=$'\E[1;36m' # begin bold
|
|
|
|
export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink
|
|
|
|
export LESS_TERMCAP_so=$'\E[01;44;33m' # begin reverse video
|
|
|
|
export LESS_TERMCAP_se=$'\E[0m' # reset reverse video
|
|
|
|
export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
|
|
|
|
export LESS_TERMCAP_ue=$'\E[0m' # reset underline
|
2019-07-17 16:03:32 +02:00
|
|
|
|
|
|
|
# Rust installation
|
|
|
|
export PATH="$HOME/.cargo/bin:$PATH"
|
2019-07-17 17:50:42 +02:00
|
|
|
|
2019-07-18 16:19:25 +02:00
|
|
|
# Use keychain to handle ssh-agent
|
|
|
|
eval $(keychain --eval id_rsa --quiet)
|