Add terminal exports and misc customizations
This commit is contained in:
parent
8759e38565
commit
e43dace86f
|
@ -20,4 +20,13 @@ alias config='/usr/bin/git --git-dir=/home/kapper/.cfg/ --work-tree=/home/kapper
|
|||
|
||||
export EDITOR='/usr/bin/vim'
|
||||
export VISUAL='/usr/bin/vim'
|
||||
export TERMINAL='urxvt -e tmux'
|
||||
export PROMPT_COMMAND="$TMUX_GITBAR_DIR/update-gitbar; $PROMPT_COMMAND"
|
||||
|
||||
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
|
||||
exec tmux
|
||||
fi
|
||||
eval "$(dircolors ~/.dir_colors)"
|
||||
export LS_COLORS="di=1;34:ln=31;47:so=32:pi=33:ex=1;32:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43"
|
||||
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||
# for examples
|
||||
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
case $- in
|
||||
*i*) ;;
|
||||
*) return;;
|
||||
esac
|
||||
|
||||
unset PROMPT_COMMAND
|
||||
|
||||
# don't put duplicate lines or lines starting with space in the history.
|
||||
# See bash(1) for more options
|
||||
HISTCONTROL=ignoreboth
|
||||
|
|
Loading…
Reference in New Issue