fix!: change fallback socket location to a user-specific directory (#2532)
* fix: enforce correct owner of socket * improve socket handling * simplify socket name
This commit is contained in:
1 parent
cef9b45a47
commit
452e073836
5 files changed
+21
-7
No files matched your search
@@ -1797,7 +1797,7 @@ OpenBSD implementation of netcat (nc) is one such example.
|
||||
You can use it to send a command to the socket file:
|
||||
.IP
|
||||
.EX
|
||||
echo \(aqsend echo hello world\(aq | nc \-U ${XDG_RUNTIME_DIR:\-/tmp}/lf.${USER}.sock
|
||||
echo \(aqsend echo hello world\(aq | nc \-U ${XDG_RUNTIME_DIR:\-/tmp/lf\-$(id \-u)}/lf.sock
|
||||
.EE
|
||||
.PP
|
||||
Since such a client may not be available everywhere, lf comes bundled
|
||||
|
||||
Reference in new issue
Block a user