From 66bff0b5ef46550866c959bb745a61363dc5331f Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Thu, 16 Jun 2022 15:19:16 -0500 Subject: zplug commit --- zsh/zshrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'zsh/zshrc') diff --git a/zsh/zshrc b/zsh/zshrc index 5200f3d..1cf9e59 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -1,6 +1,7 @@ #!/usr/bin/env zsh # Zsh scripts +unsetopt nomatch # Disable error message when no files can be found for zscript in "$XDG_CONFIG_HOME/zsh/zscripts"{/[^\!]*.zsh,/hosts/*.$HOST.zsh,/!*.zsh}; do source "$zscript"; done # Colors! + Prompt @@ -21,7 +22,7 @@ setopt EXTENDED_HISTORY # Save superfluous info with command to reduce disk wri # Other settings setopt autocd # 'cd' is implied -"/home/timmy/.local/opt/shell-color-scripts/colorscripts/$(ls /home/timmy/.local/opt/shell-color-scripts/colorscripts 2>/dev/null | shuf -n1)" 2>/dev/null +# tmp thing +[ $TTY = /dev/tty2 ] && "/home/timmy/.local/opt/shell-color-scripts/colorscripts/$(ls /home/timmy/.local/opt/shell-color-scripts/colorscripts 2>/dev/null | shuf -n1)" 2>/dev/null -# Load zsh plugins; should be last -for plugin in ${=ZPLUGINS}; do source "$plugin"; done +zplugInitialize # Load zsh plugins using zplug; should be last -- cgit v1.2.3