💄 styled tty with nord theme
This commit is contained in:
parent
416611c272
commit
f8e3736f11
1 changed files with 22 additions and 4 deletions
26
zshrc.txt
26
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_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_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_SAVE_NO_DUPS # Don't write duplicate entries in the history file.
|
||||||
setopt HIST_REDUCE_BLANKS # Remove superfluous blanks before recording entry.
|
setopt HIST_REDUCE_BLANKS # Remove superfluous blanks before recording entry. setopt HIST_VERIFY # Don't execute immediately upon history expansion.
|
||||||
setopt HIST_VERIFY # Don't execute immediately upon history expansion.
|
|
||||||
# setopt HIST_BEEP # Beep when accessing nonexistent history.
|
# setopt HIST_BEEP # Beep when accessing nonexistent history.
|
||||||
|
|
||||||
# creates a .zsh_history file on startup, and clears the 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}
|
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} '
|
└─>%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; }
|
# function erase_history { local HISTSIZE=0; }
|
||||||
# erase_history && hash -r
|
# erase_history && hash -r
|
||||||
|
|
||||||
|
|
@ -153,3 +150,24 @@ source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh
|
||||||
# Sets Up Node Version Manager
|
# Sets Up Node Version Manager
|
||||||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
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
|
[ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue