aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-02 11:10:31 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-02 11:10:31 +0000
commit5e26d3ef470bc1129e7fb442334e34dcbb045d12 (patch)
treeef10126fed29cb0c7f2bc145eaf36557077d7a1c /completions
parentmain: update --help with correct default path for -s,--server (diff)
server/client: use $WAYLAND_DISPLAY instead of $XDG_SESSION_ID in default socket path
Foot is a Wayland client and cannot be run outside of a Wayland session. As such, it makes more sense to use $WAYLAND_SESSION instead of $XDG_SESSION_ID in the default socket path since this makes it clearer which Wayland session we belong to. Closes #55.
Diffstat (limited to 'completions')
-rw-r--r--completions/zsh/_footclient2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/zsh/_footclient b/completions/zsh/_footclient
index 6eb66066..a1307e97 100644
--- a/completions/zsh/_footclient
+++ b/completions/zsh/_footclient
@@ -8,7 +8,7 @@ _arguments \
'--maximized[start in maximized mode]' \
'--fullscreen[start in fullscreen mode]' \
'--login-shell[start shell as a login shell]' \
- '(-s --server-socket)'{-s,--server-socket}'[override the default path to the foot server socket (XDG_RUNTIME_DIR/foot.sock)]:server:_files' \
+ '(-s --server-socket)'{-s,--server-socket}'[override the default path to the foot server socket ($XDG_RUNTIME_DIR/foot-$WAYLAND_DISPLAY.sock)]:server:_files' \
'--hold[remain open after child process exits]' \
'(-l --log-colorize)'{-l,--log-colorize}'[enable or disable colorization of log output on stderr]:logcolor:(never always auto)' \
'(-v --version)'{-v,--version}'[show the version number and quit]' \