set POWERLINE_COMMAND "$PWD/scripts/powerline -p $PWD/powerline/config_files"
set POWERLINE_COMMAND "$POWERLINE_COMMAND -t default_leftonly.segment_data.hostname.args.only_if_ssh=false"
set POWERLINE_COMMAND "$POWERLINE_COMMAND -c ext.shell.theme=default_leftonly"
set VIRTUAL_ENV
source powerline/bindings/fish/powerline.fish ; cd tests/shell/3rd
cd .git
cd ..
set VIRTUAL_ENV "$HOME/.virtenvs/some-virtual-environment"
set VIRTUAL_ENV
bash -c "echo \$\$>pid ; while true ; do sleep 0.1s ; done" &
false
kill (cat pid) ; sleep 1s
false
true is the last line
exit

set POWERLINE_COMMAND "$PWD/scripts/powerline -p $PWD/powerline/config_files"
set POWERLINE_COMMAND "$POWERLINE_COMMAND -t default_leftonly.segment_data.hostname.args.only_if_ssh=false"
set POWERLINE_COMMAND "$POWERLINE_COMMAND -c ext.shell.theme=default_leftonly"
set VIRTUAL_ENV
. powerline/bindings/fish/powerline.fish ; cd tests/shell/3rd
cd .git
cd ..
set VIRTUAL_ENV "$HOME/.virtenvs/some-virtual-environment"
set VIRTUAL_ENV
bash -c "echo \$\$>pid ; while true ; do sleep 0.1s ; done" &
false
kill (cat pid) ; sleep 1s
false
true is the last line
exit

Use `.` for sourcing in fish
Use `.` for sourcing in fish

It appears that travis uses fish version without this command. Though `.` is 
deprecated on new versions it is still supported for backwards compatibility, 
thus may be used here.
bartvm/powerline,cyrixhero/powerline,areteix/powerline,IvanAli/powerline,Luffin/powerline,firebitsbr/powerline,blindFS/powerline,bartvm/powerline,darac/powerline,prvnkumar/powerline,junix/powerline,wfscheper/powerline,seanfisk/powerline,xxxhycl2010/powerline,DoctorJellyface/powerline,prvnkumar/powerline,dragon788/powerline,lukw00/powerline,Luffin/powerline,seanfisk/powerline,dragon788/powerline,wfscheper/powerline,bartvm/powerline,keelerm84/powerline,cyrixhero/powerline,Liangjianghao/powerline,xfumihiro/powerline,blindFS/powerline,s0undt3ch/powerline,QuLogic/powerline,xfumihiro/powerline,areteix/powerline,EricSB/powerline,firebitsbr/powerline,russellb/powerline,Liangjianghao/powerline,S0lll0s/powerline,areteix/powerline,DoctorJellyface/powerline,keelerm84/powerline,prvnkumar/powerline,xxxhycl2010/powerline,cyrixhero/powerline,bezhermoso/powerline,kenrachynski/powerline,kenrachynski/powerline,wfscheper/powerline,bezhermoso/powerline,junix/powerline,bezhermoso/powerline,firebitsbr/powerline,junix/powerline,lukw00/powerline,Luffin/powerline,magus424/powerline,russellb/powerline,kenrachynski/powerline,S0lll0s/powerline,S0lll0s/powerline,DoctorJellyface/powerline,EricSB/powerline,xxxhycl2010/powerline,darac/powerline,seanfisk/powerline,magus424/powerline,dragon788/powerline,Liangjianghao/powerline,EricSB/powerline,s0undt3ch/powerline,QuLogic/powerline,lukw00/powerline,IvanAli/powerline,russellb/powerline,magus424/powerline,xfumihiro/powerline,darac/powerline,blindFS/powerline,s0undt3ch/powerline,IvanAli/powerline,QuLogic/powerline