config-bash/rc.d/zz-powerline

15 lines
333 B
Plaintext
Raw Normal View History

2014-01-26 13:04:10 +01:00
#!/bin/bash
# Powerline
2014-03-30 21:35:33 +02:00
SCRIPT=/usr/lib64/python3.2/site-packages/powerline/bindings/bash/powerline.sh
if [ -f $SCRIPT ]
2014-01-26 13:04:10 +01:00
then
2014-03-30 21:35:33 +02:00
if [ -n "$SSH_CONNECTION" ]
then
#urxvt_set_font "Terminus for Powerline-12"
export URXVT_FONT_NAME="DejaVu Sans Mono"
urxvt_set_font "DejaVu Sans Mono for Powerline-10"
source $SCRIPT
fi
2014-01-26 13:04:10 +01:00
fi