summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc13
1 files changed, 6 insertions, 7 deletions
diff --git a/.bashrc b/.bashrc
index fdf628b..2446f85 100644
--- a/.bashrc
+++ b/.bashrc
@@ -9,12 +9,12 @@ elif [ -f /etc/bash_completion ]; then
fi
# History
-export HISTSIZE=2000
-export HISTFILESIZE=2000 # Equivalent to SAVEHIST
-export HISTCONTROL=ignorespace # Equivalent to setopt hist_ignore_space
+export HISTSIZE=10000
+export HISTFILESIZE=10000
+export HISTCONTROL=ignorespace
# Misc options
-shopt -s autocd # Equivalent to setopt autocd
+shopt -s autocd
# Disable Beep
bind 'set bell-style none'
@@ -25,7 +25,6 @@ alias mv="mv -iv"
alias rm="rm -Iv"
alias mkdir="mkdir -pv"
-
# Juice Aliases
alias ls='ls -hN --color=auto --group-directories-first'
alias grep='grep --color=auto'
@@ -33,14 +32,14 @@ alias diff='diff --color=auto'
alias ip='ip -color=auto'
alias tree='tree --gitignore -I .git'
-# Flow control
+# disable xon/xoff (C-s and C-q)
stty -ixon
+# set PS1
RESET='\[\e[0m\]'
BOLD='\[\e[1m\]'
COLOR_USER='\[\e[38;5;153m\]'
COLOR_DIR='\[\e[38;5;47m\]'
COLOR_GIT='\[\e[38;5;105m\]'
COLOR_END='\[\e[38;5;15m\]'
-
PS1="${BOLD}${COLOR_USER}\u ${COLOR_DIR}\w ${COLOR_GIT}\$(git-ps1)${COLOR_END}$ ${RESET}"