mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 13:57:17 +08:00
[tests] Set permissions on tmux socket after creation
This commit is contained in:
parent
878bfa94cb
commit
498e5fa9b0
|
@ -23,6 +23,9 @@ $tmux new-session -x 80 -y 10 -d $fish -C '
|
|||
# No autosuggestion from older history.
|
||||
set fish_history ""
|
||||
'
|
||||
# Set the correct permissions for the newly created socket to allow future connections.
|
||||
# This is required at least under WSL or else each invocation will return a permissions error.
|
||||
chmod 777 .tmux-socket
|
||||
$sleep # Let fish draw a prompt.
|
||||
|
||||
# Test moving around with up-or-search on a multi-line commandline.
|
||||
|
|
|
@ -23,6 +23,9 @@ $tmux new-session -x 80 -y 10 -d $fish -C '
|
|||
# No autosuggestion from older history.
|
||||
set fish_history ""
|
||||
'
|
||||
# Set the correct permissions for the newly created socket to allow future connections.
|
||||
# This is required at least under WSL or else each invocation will return a permissions error.
|
||||
chmod 777 .tmux-socket
|
||||
$sleep # Let fish draw a prompt.
|
||||
|
||||
# Don't escape existing token (#7526).
|
||||
|
|
|
@ -32,7 +32,9 @@ $tmux new-session -x 80 -y 10 -d $fish -C '
|
|||
commandline -f repaint
|
||||
end
|
||||
'
|
||||
|
||||
# Set the correct permissions for the newly created socket to allow future connections.
|
||||
# This is required at least under WSL or else each invocation will return a permissions error.
|
||||
chmod 777 .tmux-socket
|
||||
$sleep # Let fish draw a prompt.
|
||||
|
||||
$tmux capture-pane -p
|
||||
|
|
Loading…
Reference in New Issue
Block a user