mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-05-11 05:54:57 +00:00
Rename internal term session method
This commit is contained in:
@@ -61,12 +61,12 @@ class TerminalSession
|
||||
|
||||
private
|
||||
|
||||
def socket_name
|
||||
@socket_name ||= SecureRandom.hex(6)
|
||||
def tmux_socket_name
|
||||
@tmux_socket_name ||= SecureRandom.hex(6)
|
||||
end
|
||||
|
||||
def tmux_command(cmd)
|
||||
out = `tmux -u -L #{socket_name} #{cmd}`
|
||||
out = `tmux -u -L #{tmux_socket_name} #{cmd}`
|
||||
|
||||
raise('tmux error') unless $?.success?
|
||||
|
||||
|
Reference in New Issue
Block a user