Closed dybdaltech closed 5 years ago
It seems https://github.com/lzybkr/PSReadLine has an incompatible interface with posh's builtin PSReadLine. Current profile script works for the builtin version, while your commit only works for the lzybkr version.
What we can do (if possible) is to check if the lzybkr's module is installed, and use the hashtable-style argument only when necessary.
Updated it to check for the 2.0 version of PSReadline before applying any colors
https://github.com/lzybkr/PSReadLine/blob/0674f91a8e4ded1f1f2ec5175abfc1c5b39377a9/PSReadLine/Changes.txt#L33