2014-01-13 16:47:58 +01:00
|
|
|
|
unsetopt promptsp transientrprompt
|
2014-01-13 21:18:34 +01:00
|
|
|
|
POWERLINE_COMMAND=( $PWD/scripts/powerline -p $PWD/powerline/config_files )
|
|
|
|
|
POWERLINE_COMMAND=( $POWERLINE_COMMAND -t default_leftonly.segment_data.hostname.args.only_if_ssh=false )
|
2014-01-13 16:47:58 +01:00
|
|
|
|
POWERLINE_COMMAND=( $POWERLINE_COMMAND -c ext.shell.theme=default_leftonly )
|
2014-01-13 21:18:34 +01:00
|
|
|
|
VIRTUAL_ENV=
|
|
|
|
|
source powerline/bindings/zsh/powerline.zsh ; cd tests/shell/3rd
|
2014-01-13 16:47:58 +01:00
|
|
|
|
cd .git
|
|
|
|
|
cd ..
|
|
|
|
|
VIRTUAL_ENV="$HOME/.virtenvs/some-virtual-environment"
|
|
|
|
|
VIRTUAL_ENV=
|
|
|
|
|
bash -c "echo \$\$>pid ; while true ; do sleep 0.1s ; done" &
|
|
|
|
|
false
|
|
|
|
|
kill `cat pid` ; sleep 1s
|
2014-01-26 18:59:33 +01:00
|
|
|
|
cd "$DIR1"
|
|
|
|
|
cd ../"$DIR2"
|
2014-01-26 18:45:02 +01:00
|
|
|
|
cd ../'\[\]'
|
|
|
|
|
cd ../'%%'
|
|
|
|
|
cd ../'#[bold]'
|
|
|
|
|
cd ../'(echo)'
|
|
|
|
|
cd ../'$(echo)'
|
|
|
|
|
cd ../'`echo`'
|
2014-01-26 19:26:29 +01:00
|
|
|
|
cd ..
|
|
|
|
|
POWERLINE_COMMAND=( $POWERLINE_COMMAND[1,5] ) ; bindkey -v
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo abc
|
2014-01-13 16:47:58 +01:00
|
|
|
|
false
|
2014-01-17 22:59:19 +01:00
|
|
|
|
true is the last line
|
2014-01-13 16:47:58 +01:00
|
|
|
|
exit
|