Browse Source

fragments/colors.sh: some color codes in zsh

Brennen Bearnes 1 month ago
parent
commit
8bc7548d83
1 changed files with 14 additions and 0 deletions
  1. 14
    0
      home/fragments/colors.sh

+ 14
- 0
home/fragments/colors.sh View File

@@ -0,0 +1,14 @@
1
+#!/usr/bin/env zsh
2
+
3
+autoload colors zsh/terminfo
4
+colors
5
+
6
+for foo in $fg; do
7
+  echo $foo hi
8
+done
9
+
10
+for foo in $bg; do
11
+  echo $foo hey;
12
+done
13
+
14
+export PS1='%F{214}%K{123}%m%k%f'

Loading…
Cancel
Save