Tidy the code that works out the socket path, and just use the full path
in the global socket_path rather than copying it.
3 files changed
tree: d9b0d5ab77c55306a63e785bb3be533cd5baa072
  1. Makefile
  2. alerts.c
  3. arguments.c
  4. array.h
  5. attributes.c
  6. cfg.c
  7. client.c
  8. cmd-attach-session.c
  9. cmd-bind-key.c
  10. cmd-break-pane.c
  11. cmd-capture-pane.c
  12. cmd-choose-buffer.c
  13. cmd-choose-client.c
  14. cmd-choose-tree.c
  15. cmd-clear-history.c
  16. cmd-command-prompt.c
  17. cmd-confirm-before.c
  18. cmd-copy-mode.c
  19. cmd-detach-client.c
  20. cmd-display-message.c
  21. cmd-display-panes.c
  22. cmd-find-window.c
  23. cmd-find.c
  24. cmd-has-session.c
  25. cmd-if-shell.c
  26. cmd-join-pane.c
  27. cmd-kill-pane.c
  28. cmd-kill-server.c
  29. cmd-kill-session.c
  30. cmd-kill-window.c
  31. cmd-list-buffers.c
  32. cmd-list-clients.c
  33. cmd-list-keys.c
  34. cmd-list-panes.c
  35. cmd-list-sessions.c
  36. cmd-list-windows.c
  37. cmd-list.c
  38. cmd-load-buffer.c
  39. cmd-lock-server.c
  40. cmd-move-window.c
  41. cmd-new-session.c
  42. cmd-new-window.c
  43. cmd-paste-buffer.c
  44. cmd-pipe-pane.c
  45. cmd-queue.c
  46. cmd-refresh-client.c
  47. cmd-rename-session.c
  48. cmd-rename-window.c
  49. cmd-resize-pane.c
  50. cmd-respawn-pane.c
  51. cmd-respawn-window.c
  52. cmd-rotate-window.c
  53. cmd-run-shell.c
  54. cmd-save-buffer.c
  55. cmd-select-layout.c
  56. cmd-select-pane.c
  57. cmd-select-window.c
  58. cmd-send-keys.c
  59. cmd-send-prefix.c
  60. cmd-set-buffer.c
  61. cmd-set-environment.c
  62. cmd-set-option.c
  63. cmd-show-buffer.c
  64. cmd-show-environment.c
  65. cmd-show-messages.c
  66. cmd-show-options.c
  67. cmd-source-file.c
  68. cmd-split-window.c
  69. cmd-string.c
  70. cmd-swap-pane.c
  71. cmd-swap-window.c
  72. cmd-switch-client.c
  73. cmd-unbind-key.c
  74. cmd-wait-for.c
  75. cmd.c
  76. colour.c
  77. control-notify.c
  78. control.c
  79. environ.c
  80. format.c
  81. grid-view.c
  82. grid.c
  83. input-keys.c
  84. input.c
  85. job.c
  86. key-bindings.c
  87. key-string.c
  88. layout-custom.c
  89. layout-set.c
  90. layout.c
  91. log.c
  92. mode-key.c
  93. names.c
  94. notify.c
  95. options-table.c
  96. options.c
  97. paste.c
  98. proc.c
  99. procname.c
  100. resize.c
  101. screen-redraw.c
  102. screen-write.c
  103. screen.c
  104. server-client.c
  105. server-fn.c
  106. server.c
  107. session.c
  108. signal.c
  109. status.c
  110. style.c
  111. tmux.1
  112. tmux.c
  113. tmux.h
  114. tty-acs.c
  115. tty-keys.c
  116. tty-term.c
  117. tty.c
  118. utf8.c
  119. window-choose.c
  120. window-clock.c
  121. window-copy.c
  122. window.c
  123. xmalloc.c
  124. xmalloc.h
  125. xterm-keys.c