mirror of https://github.com/akelge/zsh
Better
This commit is contained in:
parent
d0b17cc7aa
commit
d6aa0053e9
|
@ -1,9 +1,23 @@
|
||||||
echo
|
echo
|
||||||
print -P "$FX[bold]Kernel:$FX[reset] $KERNEL"
|
print -P "$FX[bold]Kernel:$FX[reset] $KERNEL"
|
||||||
print -P "$FX[bold]Library:$FX[reset] $LIBRARY"
|
print -P "$FX[bold]Library:$FX[reset] $LIBRARY"
|
||||||
|
|
||||||
|
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
|
echo
|
||||||
|
|
||||||
print -P "$FX[italic]$FX[underline]Utils$FX[reset]\n"
|
|
||||||
for plugin in thefuck pyenv kubectl aws; do
|
for plugin in thefuck pyenv kubectl aws; do
|
||||||
print -nP "$FX[bold]$plugin: "
|
print -nP "$FX[bold]$plugin: "
|
||||||
if type $plugin > /dev/null; then
|
if type $plugin > /dev/null; then
|
||||||
|
@ -13,19 +27,6 @@ for plugin in thefuck pyenv kubectl aws; do
|
||||||
fi
|
fi
|
||||||
done
|
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
|
echo
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue