summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2022-04-17 12:02:36 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2022-04-17 12:02:36 -0500
commitc878742ad78a014fef93c520abd1c1d846f2c0d9 (patch)
treea960c960fe4d15a2526b56206605b4abafaaa505 /zsh
parentd228b792e7aebd573470b4d10c9cbf9deb404719 (diff)
parenta6831bb06715245a580f409bb9cc2e53cf63ee94 (diff)
downloaddotconfig-c878742ad78a014fef93c520abd1c1d846f2c0d9.tar.xz
dotconfig-c878742ad78a014fef93c520abd1c1d846f2c0d9.zip
Merge branch 'master' of git.tjkeller.xyz:/var/www/git/dotconfig
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/zscripts/colors.voidx250.zsh7
-rwxr-xr-xzsh/zshrc2
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
diff --git a/zsh/zshrc b/zsh/zshrc
index 8272e56..5200f3d 100755
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -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