Fix sh UID
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user