aboutsummaryrefslogtreecommitdiff
path: root/zshrc.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-08-22 22:01:06 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-08-22 22:01:06 -0300
commitf3614b7ea6b06ec851897035078c2e3b64fcf893 (patch)
treea5b02bf0e6278cacbedd767c699d447399ce3387 /zshrc.dot.link
parent684def86669322be8611a87407281333367b7c5b (diff)
downloadprofile-f3614b7ea6b06ec851897035078c2e3b64fcf893.tar.gz
profile-f3614b7ea6b06ec851897035078c2e3b64fcf893.tar.bz2
Zsh: check for powerline
Diffstat (limited to 'zshrc.dot.link')
-rw-r--r--zshrc.dot.link4
1 files changed, 3 insertions, 1 deletions
diff --git a/zshrc.dot.link b/zshrc.dot.link
index 9441543..9df34c6 100644
--- a/zshrc.dot.link
+++ b/zshrc.dot.link
@@ -39,7 +39,9 @@ zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
# Powerline
-. /usr/share/powerline/bindings/zsh/powerline.zsh
+if [ -e '/usr/share/powerline/bindings/zsh/powerline.zsh' ]; then
+ . /usr/share/powerline/bindings/zsh/powerline.zsh
+fi
# Source default profile
source ~/.profile