mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-12 20:41:16 +02:00
bash/zsh: history settings moved to profile
This commit is contained in:
5
.bashrc
5
.bashrc
@@ -3,10 +3,7 @@
|
||||
shopt -s autocd
|
||||
set -o vi
|
||||
stty -ixon # Disable ctrl-s and ctrl-q.
|
||||
export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\[$(tput sgr0)\]\\$ "
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
HISTFILE=~/.cache/shhistory
|
||||
export PS1="\[$(tput bold)\]\[$(tput setaf 4)\][\[$(tput setaf 4)\]\u\[$(tput setaf 4)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 4)\]\W\[$(tput setaf 4)\]]\[$(tput setaf 4)\]\[$(tput sgr0)\]\\$ "
|
||||
|
||||
source "$HOME/.config/aliasrc" 2>/dev/null # Load aliases
|
||||
|
||||
|
Reference in New Issue
Block a user