dotfiles
dotfiles copied to clipboard
Doesn't really handle PS1 backslashes
I had this in my .bash_profile:
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
And this script failed for this error:
set: Invalid index starting at 'export PS1="\'
~/.config/fish/config.fish (line 23):
set -xg $var $value
^
from sourcing file ~/.config/fish/config.fish
called during startup
(Type 'help set' for related documentation)
set: Invalid index starting at 'export PS1="\'
~/.config/fish/config.fish (line 23):
set -xg $var $value
^
from sourcing file ~/.config/fish/config.fish
called during startup
(Type 'help set' for related documentation)
Darwin Zacks-MacBook-Pro.local 18.6.0 x86_64
14:38 up 4 days, 1:44, 2 users, load averages: 2.62 2.64 2.82```