diff --git a/.bashrc b/.bashrc index ba0107b..87f1092 100644 --- a/.bashrc +++ b/.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 diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 9521126..294f242 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -49,10 +49,6 @@ zstyle ':vcs_info:git*+set-message:*' hooks git-st git-stash PS1='%B%{$fg[blue]%}[%{$fg[blue]%}%n%{$fg[blue]%}@%{$fg[blue]%}%M %{$fg[blue]%}%~%{$fg[blue]%}]%{$reset_color%}\$%b ' RPROMPT='%B%{$fg[blue]%}$vcs_info_msg_0_%{$reset_color%}%b' -# History in cache directory -HISTSIZE=10000 -SAVEHIST=10000 - # Basic auto/tab complete autoload -U compinit zstyle ':completion:*' menu select diff --git a/.profile b/.profile index f6c6bba..7a3ae44 100644 --- a/.profile +++ b/.profile @@ -32,6 +32,8 @@ export GOBIN="${GOPATH}/bin" export GRADLE_USER_HOME="${XDG_CONFIG_HOME}/gradle" export GTK2_RC_FILES="${XDG_CONFIG_HOME}/gtk-2.0/gtkrc-2.0" export HISTFILE="${XDG_CACHE_HOME}/shhistory" +export HISTSIZE=10000 +export SAVEHIST=10000 export INPUTRC="${XDG_CONFIG_HOME}/inputrc" export LESSKEY="${XDG_CONFIG_HOME}/less/lesskey" export LESSHISTFILE="-"