diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2022-04-17 12:02:36 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2022-04-17 12:02:36 -0500 |
commit | c878742ad78a014fef93c520abd1c1d846f2c0d9 (patch) | |
tree | a960c960fe4d15a2526b56206605b4abafaaa505 /zsh | |
parent | d228b792e7aebd573470b4d10c9cbf9deb404719 (diff) | |
parent | a6831bb06715245a580f409bb9cc2e53cf63ee94 (diff) | |
download | dotconfig-c878742ad78a014fef93c520abd1c1d846f2c0d9.tar.xz dotconfig-c878742ad78a014fef93c520abd1c1d846f2c0d9.zip |
Merge branch 'master' of git.tjkeller.xyz:/var/www/git/dotconfig
Diffstat (limited to 'zsh')
-rwxr-xr-x | zsh/zscripts/colors.voidx250.zsh | 7 | ||||
-rwxr-xr-x | zsh/zshrc | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/zsh/zscripts/colors.voidx250.zsh b/zsh/zscripts/colors.voidx250.zsh new file mode 100755 index 0000000..cf710f3 --- /dev/null +++ b/zsh/zscripts/colors.voidx250.zsh @@ -0,0 +1,7 @@ +if [ -n "$DISPLAY" ]; then + declare col{br,at}=green + declare col{name,host}=76 + coldir=40 +else + declare col{br,name,at,host,dir}=green +fi @@ -21,7 +21,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 | shuf -n1)" +"/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 |