forked from nico/dots
fish: make prompt colours a universal variable
This commit is contained in:
parent
fa05bf798d
commit
c6c8674a83
2 changed files with 9 additions and 3 deletions
|
|
@ -28,10 +28,10 @@ if status is-interactive
|
|||
|
||||
# set prompt colours
|
||||
if test -e ~/.cache/zsh_colours.sh
|
||||
posix-source (string replace -fra "{|}|#|\"" "" (cat ~/.cache/zsh_colours.sh) | psub)
|
||||
posix-source-universal (string replace -fra "{|}|#|\"" "" (cat ~/.cache/zsh_colours.sh) | psub)
|
||||
else
|
||||
set PRIMARY_COLOUR blue
|
||||
set SECONDARY_COLOUR purple
|
||||
set -Ux PRIMARY_COLOUR blue
|
||||
set -Ux SECONDARY_COLOUR purple
|
||||
end
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue