1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-14 13:31:15 +02:00

zshrc/bashrc update; zsh: highlighting, tab completion

This commit is contained in:
tiynger
2019-10-04 00:24:30 +02:00
parent 40e9e79beb
commit 28d43dc5c5
2 changed files with 31 additions and 5 deletions

View File

@@ -3,12 +3,11 @@
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)\]"
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
[ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc" # Load shortcut aliases
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" # Load aliases
source "$HOME/.config/aliasrc" 2>/dev/null # Load aliases
pfetch