This commit is contained in:
Andrea Mistrali 2021-10-28 16:21:03 +02:00
parent d0b17cc7aa
commit d6aa0053e9
No known key found for this signature in database
GPG Key ID: 6FB0A77F6D5DA9B2
2 changed files with 16 additions and 15 deletions

View File

@ -1,9 +1,23 @@
echo
print -P "$FX[bold]Kernel:$FX[reset] $KERNEL"
print -P "$FX[bold]Library:$FX[reset] $LIBRARY"
echo
print -P "$FX[italic]$FX[underline]Utils$FX[reset]\n"
print -nP "\n$FX[bold]z plugin: "
if [ -e $LIBRARY/plugins/zsh-z/zsh-z.plugin.zsh ]; then
print -P "$FG[002]present$FX[reset]"
else
print -P "$FG[001]absent$FX[reset]"
fi
print -nP "$FX[bold]iTerm2 integration: "
if [ -e $HOME/.iterm2_shell_integration.zsh ]; then
print -P "$FG[002]present$FX[reset]"
else
print -P "$FG[001]absent$FX[reset]"
fi
echo
for plugin in thefuck pyenv kubectl aws; do
print -nP "$FX[bold]$plugin: "
if type $plugin > /dev/null; then
@ -13,19 +27,6 @@ for plugin in thefuck pyenv kubectl aws; do
fi
done
print -nP "\n$FX[bold]z plugin: "
if [ -e $LIBRARY/plugins/zsh-z/zsh-z.plugin.zsh ]; then
print -P "$FG[002]present$FX[reset]"
else
print -P "$FG[001]absent$FX[reset]"
fi
print -nP "\n$FX[bold]iTerm2 integration: "
if [ -e $HOME/.iterm2_shell_integration.zsh ]; then
print -P "$FG[002]present$FX[reset]"
else
print -P "$FG[001]absent$FX[reset]"
fi
echo

Binary file not shown.