diff --git a/bin/phpl-config b/bin/phpl-config index 300c2a6..b871e0f 100755 --- a/bin/phpl-config +++ b/bin/phpl-config @@ -76,7 +76,7 @@ if (cmdl_get($opts,'list')) { foreach ($items as $item) { $attrs = []; foreach ($item[2] as $k=>$v) { - $attrs[] = sprintf("%s=%s", $k, $v); + $attrs[] = sprintf("\e[94m%s\e[0m=\e[1m%s\e[0m", $k, var_export($v,true)); } $attr = join(" ",$attrs); printf(" \e[1m%-15s\e[0m %-15s [\e[37;44m%s\e[0m]\n %s\n", $item[0], $item[1], demo($item), $attr); diff --git a/install.sh b/install.sh index dd035a4..e9aae89 100755 --- a/install.sh +++ b/install.sh @@ -45,21 +45,18 @@ echo " Done" if [ ! -d ~/bin ]; then echo "Skipping automatic symlink creation, please add $INSTALL_DIR/bin to your path." else - echo "Creating symlinks:" + echo -n "Creating symlinks:" for TOOL in $INSTALL_DIR/bin/*; do - echo " ~> $(basename $TOOL)" + # echo " ~> $(basename $TOOL)" test -e ~/bin/$(basename $TOOL) || ln -s $TOOL ~/bin/$(basename $TOOL) done fi +echo " Done" -echo "Checking .bashrc..." grep "powerline.sh" ~/.bashrc &>/dev/null -if [ $? == 0 ]; then - echo "Already installed into .bashrc" -else +if [ $? != 0 ]; then echo "source $INSTALL_DIR/powerline.sh" >> ~/.bashrc - echo "Updated .bashrc" + echo "Added phpl to .bashrc" fi -echo "Updating prompt..." $INSTALL_DIR/bin/phpl-reload --all diff --git a/themes/blues.theme b/themes/blues.theme index 2459d7e..b06efa8 100644 --- a/themes/blues.theme +++ b/themes/blues.theme @@ -5,11 +5,16 @@ pad-after: 1; } -vcs { +.vcs { background: bright-blue; + color:blue; } .system .info { background: bright-blue; color: bright-white; } + +:bad { + color: red; +}