diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2022-06-16 15:19:16 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2022-06-16 15:19:16 -0500 |
commit | 66bff0b5ef46550866c959bb745a61363dc5331f (patch) | |
tree | accb0a1923bf9673d54bca84ee637ed536ae7b6a /zsh/zshrc | |
parent | c878742ad78a014fef93c520abd1c1d846f2c0d9 (diff) | |
download | dotconfig-66bff0b5ef46550866c959bb745a61363dc5331f.tar.xz dotconfig-66bff0b5ef46550866c959bb745a61363dc5331f.zip |
zplug commit
Diffstat (limited to 'zsh/zshrc')
-rwxr-xr-x | zsh/zshrc | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |