mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
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
This commit is contained in:
2
tmux.h
2
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;
|
||||
|
Reference in New Issue
Block a user