| commit | 98c85cf989a951c28e536e10de147b3263d934ce | [log] [download] |
|---|---|---|
| author | Nicholas Marriott <nicholas.marriott@gmail.com> | Tue Jan 13 01:08:40 2009 +0000 |
| committer | Nicholas Marriott <nicholas.marriott@gmail.com> | Tue Jan 13 01:08:40 2009 +0000 |
| tree | 4a685e79d8097ab8c62dd28bd641cbff612d50f9 | |
| parent | 9ab200843e7f2167129cacfe83aeca6a502a374e [diff] |
command-prompt now accepts a single argument, a template string. Any occurrences of %% in this string are replaced by whatever is entered at the prompt and the result is executed as a command. This allows things like (now bound by default):
bind , command-prompt "rename-window %%"
Or my favourite:
bind x command-prompt "split-window 'man %%'"