diff --git a/zshrc.txt b/zshrc.txt index ce47bb46..bbdbc4ee 100644 --- a/zshrc.txt +++ b/zshrc.txt @@ -36,8 +36,7 @@ setopt HIST_IGNORE_ALL_DUPS # Delete old recorded entry if new entry is a d setopt HIST_FIND_NO_DUPS # Do not display a line previously found. setopt HIST_IGNORE_SPACE # Don't record an entry starting with a space. setopt HIST_SAVE_NO_DUPS # Don't write duplicate entries in the history file. -setopt HIST_REDUCE_BLANKS # Remove superfluous blanks before recording entry. -setopt HIST_VERIFY # Don't execute immediately upon history expansion. +setopt HIST_REDUCE_BLANKS # Remove superfluous blanks before recording entry. setopt HIST_VERIFY # Don't execute immediately upon history expansion. # setopt HIST_BEEP # Beep when accessing nonexistent history. # creates a .zsh_history file on startup, and clears the history @@ -95,8 +94,6 @@ unsetopt BEEP PROMPT='%B%F{blue}[%n@%M %B%F{white}'%1~'%B%F{blue}]$ %B%F{white}${vcs_info_msg_0_}%B%F{blue} └─>%B%F{white} ' -# PROMPT='%B%F{green}[%n@%M %B%F{white}'%1~'%B%F{green}]$ %B%F{white}${vcs_info_msg_0_}%B%F{green} -# └─>%B%F{white} ' # function erase_history { local HISTSIZE=0; } # erase_history && hash -r @@ -153,3 +150,24 @@ source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh # Sets Up Node Version Manager export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm + +# Set up TTY colors +# pulled form https://github.com/lewisacidic/nord-tty +if [ "$TERM" = "linux" ]; then + echo -en \\e]P02E3440 + echo -en \\e]P1BF616A + echo -en \\e]P2A3BE8C + echo -en \\e]P3EBCB8B + echo -en \\e]P481A1C1 + echo -en \\e]P5B48EAD + echo -en \\e]P688C0D0 + echo -en \\e]P7E5E9F0 + echo -en \\e]P84C566A + echo -en \\e]P9BF616A + echo -en \\e]PAA3BE8C + echo -en \\e]PBEBCB8B + echo -en \\e]PCB48EAD + echo -en \\e]PD8FBCBB + echo -en \\e]PEECEFF4 + clear +fi