From e340df2034c04591e3bbdcbcc22af1301cf74b09 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 14 Feb 2017 18:13:05 +0000 Subject: Make source-file look for files relative to the client working directory (like load-buffer and save-buffer), from Chris Pickel. Also break the where-is-this-file code out into its own function for loadb and saveb. --- tmux.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index d2621f8b..67b0915e 100644 --- a/tmux.h +++ b/tmux.h @@ -1834,6 +1834,8 @@ void server_client_push_stdout(struct client *); void server_client_push_stderr(struct client *); void printflike(2, 3) server_client_add_message(struct client *, const char *, ...); +char *server_client_get_path(struct client *, const char *); +const char *server_client_get_cwd(struct client *); /* server-fn.c */ void server_fill_environ(struct session *, struct environ *); -- cgit