2015-01-06 22:17:56 +01:00
|
|
|
set_theme_option() {
|
|
|
|
export POWERLINE_THEME_OVERRIDES="${POWERLINE_THEME_OVERRIDES};$1=$2"
|
|
|
|
}
|
|
|
|
set_theme() {
|
|
|
|
export POWERLINE_CONFIG_OVERRIDES="ext.shell.theme=$1"
|
|
|
|
}
|
|
|
|
set_theme_option default_leftonly.segment_data.hostname.args.only_if_ssh false
|
|
|
|
set_theme default_leftonly
|
2014-08-02 19:27:31 +02:00
|
|
|
. powerline/bindings/shell/powerline.sh
|
2014-07-19 23:49:30 +02:00
|
|
|
export VIRTUAL_ENV=
|
2014-08-02 19:27:31 +02:00
|
|
|
cd tests/shell/3rd
|
2014-07-19 23:49:30 +02:00
|
|
|
cd .git
|
|
|
|
cd ..
|
|
|
|
VIRTUAL_ENV="$HOME/.virtenvs/some-virtual-environment"
|
|
|
|
VIRTUAL_ENV=
|
2014-08-10 15:10:35 +02:00
|
|
|
bgscript.sh & waitpid.sh
|
2014-07-19 23:49:30 +02:00
|
|
|
false
|
|
|
|
kill `cat pid` ; sleep 1s
|
2015-01-06 22:17:56 +01:00
|
|
|
set_theme_option default_leftonly.segment_data.hostname.display false
|
|
|
|
set_theme_option default_leftonly.segment_data.user.display false
|
2014-08-12 05:54:34 +02:00
|
|
|
echo '
|
|
|
|
abc
|
|
|
|
def
|
|
|
|
'
|
2014-07-19 23:49:30 +02:00
|
|
|
cd "$DIR1"
|
|
|
|
cd ../"$DIR2"
|
|
|
|
cd ../'\[\]'
|
|
|
|
cd ../'%%'
|
|
|
|
cd ../'#[bold]'
|
|
|
|
cd ../'(echo)'
|
|
|
|
cd ../'$(echo)'
|
|
|
|
cd ../'`echo`'
|
2014-11-28 20:58:53 +01:00
|
|
|
cd ../'«Unicode!»'
|
2015-01-06 22:17:56 +01:00
|
|
|
set_theme_option default_leftonly.dividers.left.hard \$ABC
|
2014-07-19 23:49:30 +02:00
|
|
|
false
|
|
|
|
true is the last line
|
|
|
|
exit
|