1
0
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:
TiynGER
2021-05-24 18:09:40 +02:00
parent 5635dcac8f
commit 3c5e9c4cde
3 changed files with 3 additions and 8 deletions

View File

@@ -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