summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
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