Fix sh UID
This commit is contained in:
parent
f755e20005
commit
d225df4a39
@ -17,9 +17,9 @@ if status is-interactive
|
|||||||
fish_hybrid_key_bindings
|
fish_hybrid_key_bindings
|
||||||
|
|
||||||
sh -c '
|
sh -c '
|
||||||
if [ ! -f "/run/user/$EUID/fish.please.lock" ]; then
|
if [ ! -f "/run/user/$UID/fish.please.lock" ]; then
|
||||||
please
|
please
|
||||||
touch "/run/user/$EUID/fish.please.lock"
|
touch "/run/user/$UID/fish.please.lock"
|
||||||
else
|
else
|
||||||
fortune -o | ponysay -b round
|
fortune -o | ponysay -b round
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user