mirror of
https://github.com/powerline/powerline.git
synced 2025-07-23 22:05:43 +02:00
Fall back to powerline-render when using powerline.sh
This commit is contained in:
parent
fed43e8af5
commit
f3d972849e
@ -10,4 +10,8 @@ ADDRESS="powerline-ipc-${UID:-`id -u`}"
|
|||||||
done
|
done
|
||||||
env -0 | sed 's/\(\x00\)\([^\x00]\)\|^/\1--env=\2/g'
|
env -0 | sed 's/\(\x00\)\([^\x00]\)\|^/\1--env=\2/g'
|
||||||
printf -- '--cwd=%s\0' "$PWD"
|
printf -- '--cwd=%s\0' "$PWD"
|
||||||
) | socat -t 10 - abstract-client:"$ADDRESS"
|
) | socat -lf/dev/null -t 10 - abstract-client:"$ADDRESS"
|
||||||
|
|
||||||
|
if test $? -ne 0 ; then
|
||||||
|
powerline-render "$@"
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user