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