forked from misc/zsh-config
* Fixed lsmod calling on systems different from Linux.
* fbterm check now runs only on Linux and if lsmod is available. * Added OS and OS_RELEASE vars. * Themes now should also ends with .zsh.
This commit is contained in:
@@ -39,7 +39,7 @@ prompt_pztrn_setup () {
|
||||
|
||||
[[ -n "$WINDOW" ]] && p_win="$WINDOW"
|
||||
|
||||
if [[ $USER == "root" ]]; then
|
||||
if [[ "$USER" == "root" ]]; then
|
||||
vars['usercolor']="%{$fg[red]%}"
|
||||
else
|
||||
vars['usercolor']="%{$fg[blue]%}"
|
Reference in New Issue
Block a user