* 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:
2015-03-01 09:57:58 +05:00
parent cfa309ed3a
commit da3e638cf9
6 changed files with 22 additions and 43 deletions

View File

@@ -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]%}"