summarylogtreecommitdiffstats
path: root/powerline.install
diff options
context:
space:
mode:
Diffstat (limited to 'powerline.install')
-rw-r--r--powerline.install43
1 files changed, 43 insertions, 0 deletions
diff --git a/powerline.install b/powerline.install
new file mode 100644
index 000000000000..2a1aa34922e8
--- /dev/null
+++ b/powerline.install
@@ -0,0 +1,43 @@
+post_install() {
+ echo "Updating font cache..."
+ fc-cache -f
+
+ echo "
+IMPORTANT
+=========
+
+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/powerline/powerline/issues
+
+Consult the documentation for detailed installation instructions and
+troubleshooting information: https://powerline.readthedocs.org/en/latest/
+
+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'
+"
+}
+
+post_remove() {
+ echo "Updating font cache..."
+ fc-cache -f
+}