2013-01-18 11:19:38 +01:00
|
|
|
post_install() {
|
|
|
|
echo "Updating font cache..."
|
|
|
|
fc-cache -f
|
|
|
|
|
|
|
|
echo "
|
|
|
|
IMPORTANT
|
2013-01-22 18:24:19 +01:00
|
|
|
=========
|
2013-01-18 11:19:38 +01:00
|
|
|
|
2013-01-18 16:52:03 +01:00
|
|
|
Powerline requires custom glyphs to work properly. A font with these glyphs has
|
|
|
|
been installed along with a fontconfig file which enables the glyphs for many
|
|
|
|
common coding fonts.
|
|
|
|
|
|
|
|
If Powerline doesn't work out of the box on your system, please submit an issue
|
|
|
|
on GitHub: https://github.com/Lokaltog/powerline/issues
|
|
|
|
|
|
|
|
Consult the documentation for detailed installation instructions and
|
2013-02-10 14:04:07 +01:00
|
|
|
troubleshooting information: https://powerline.readthedocs.org/en/latest/
|
2013-01-22 18:24:19 +01:00
|
|
|
|
|
|
|
Vim installation
|
|
|
|
----------------
|
|
|
|
|
|
|
|
The plugin has been installed and is enabled by default.
|
|
|
|
|
|
|
|
Zsh installation
|
|
|
|
----------------
|
|
|
|
|
|
|
|
Add the following line to your ~/.zshrc:
|
|
|
|
|
|
|
|
. /usr/share/zsh/site-contrib/powerline.zsh
|
|
|
|
|
|
|
|
Tmux installation
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
Add the following line to your ~/.tmux.conf:
|
|
|
|
|
|
|
|
source '/usr/share/tmux/powerline.conf'
|
2013-01-18 11:19:38 +01:00
|
|
|
"
|
|
|
|
}
|
|
|
|
|
|
|
|
post_remove() {
|
|
|
|
echo "Updating font cache..."
|
|
|
|
fc-cache -f
|
|
|
|
}
|