mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
Rename internal term session method
This commit is contained in:
parent
98f926d53d
commit
64e7ec5bf8
1 changed files with 3 additions and 3 deletions
|
@ -61,12 +61,12 @@ class TerminalSession
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def socket_name
|
def tmux_socket_name
|
||||||
@socket_name ||= SecureRandom.hex(6)
|
@tmux_socket_name ||= SecureRandom.hex(6)
|
||||||
end
|
end
|
||||||
|
|
||||||
def tmux_command(cmd)
|
def tmux_command(cmd)
|
||||||
out = `tmux -u -L #{socket_name} #{cmd}`
|
out = `tmux -u -L #{tmux_socket_name} #{cmd}`
|
||||||
|
|
||||||
raise('tmux error') unless $?.success?
|
raise('tmux error') unless $?.success?
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue