From fdd1d0b72e3aa178653ed8733d4efcb6b14b0c86 Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Tue, 27 Dec 2011 14:07:20 +0000 Subject: Allow $HOME as default-path in tmux.conf so the same config file can be used on different machines regardless of where the user's home directory is. ok nicm --- tmux.1 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 70900014..331a104f 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1845,6 +1845,11 @@ Set the default working directory for new panes. If empty (the default), the working directory is determined from the process running in the active pane, from the command line environment or from the working directory where the session was created. +If +.Ar path +is "$HOME" or "~", the value of the +.Ev HOME +environment variable is used. .It Ic default-shell Ar path Specify the default shell. This is used as the login shell for new windows when the -- cgit v1.2.3