summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-01-31 15:52:21 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-01-31 15:52:21 +0000
commit908a22e41ce9b33156ee2fa7a68bd585033cf3a3 (patch)
tree218d3848ddddab98ee5021e11dc73865e1a05743 /tmux.h
parent49a5a587ec6c99e4030d51cb65f04d49c87e3c31 (diff)
Provide defined ways to set the various default-path possibilities: ~
for home directory, . for server start directory, - for session start directory and empty for the pane's working directory (the default). All can also be used as part of a relative path (eg -/foo). Also provide -c flags to neww and splitw to override default-path setting. Based on a diff from sthen. ok sthen
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index a52edf6f..1e1639de 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1559,7 +1559,7 @@ int cmd_find_index(
struct winlink *cmd_find_pane(struct cmd_ctx *,
const char *, struct session **, struct window_pane **);
char *cmd_template_replace(char *, const char *, int);
-const char *cmd_get_default_path(struct cmd_ctx *ctx);
+const char *cmd_get_default_path(struct cmd_ctx *, const char *);
extern const struct cmd_entry *cmd_table[];
extern const struct cmd_entry cmd_attach_session_entry;
extern const struct cmd_entry cmd_bind_key_entry;