mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-21 20:44:56 +00:00
Avoid argument clashing with hints
This commit is contained in:
parent
403be0fd1d
commit
3a0636454a
@ -176,7 +176,7 @@ set -g @thumbs-regexp-5 Vlan\\d+ # alternative method of defining regexp
|
|||||||
|
|
||||||
### @thumbs-command
|
### @thumbs-command
|
||||||
|
|
||||||
`default: 'tmux set-buffer {} && tmux display-message \"Copied {}\"'`
|
`default: 'tmux set-buffer -- {} && tmux display-message \"Copied {}\"'`
|
||||||
|
|
||||||
Choose which command execute when you press a hint. `tmux-thumbs` will replace `{}` with the picked hint.
|
Choose which command execute when you press a hint. `tmux-thumbs` will replace `{}` with the picked hint.
|
||||||
|
|
||||||
@ -188,7 +188,7 @@ set -g @thumbs-command 'echo -n {} | pbcopy'
|
|||||||
|
|
||||||
### @thumbs-upcase-command
|
### @thumbs-upcase-command
|
||||||
|
|
||||||
`default: 'tmux set-buffer {} && tmux paste-buffer && tmux display-message \"Copied {}\"`
|
`default: 'tmux set-buffer -- {} && tmux paste-buffer && tmux display-message \"Copied {}\"'`
|
||||||
|
|
||||||
Choose which command execute when you press a upcase hint. `tmux-thumbs` will replace `{}` with the picked hint.
|
Choose which command execute when you press a upcase hint. `tmux-thumbs` will replace `{}` with the picked hint.
|
||||||
|
|
||||||
|
@ -511,13 +511,13 @@ fn app_args<'a>() -> clap::ArgMatches<'a> {
|
|||||||
Arg::with_name("command")
|
Arg::with_name("command")
|
||||||
.help("Pick command")
|
.help("Pick command")
|
||||||
.long("command")
|
.long("command")
|
||||||
.default_value("tmux set-buffer {} && tmux display-message \"Copied {}\""),
|
.default_value("tmux set-buffer -- {} && tmux display-message \"Copied {}\""),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("upcase_command")
|
Arg::with_name("upcase_command")
|
||||||
.help("Upcase command")
|
.help("Upcase command")
|
||||||
.long("upcase-command")
|
.long("upcase-command")
|
||||||
.default_value("tmux set-buffer {} && tmux paste-buffer && tmux display-message \"Copied {}\""),
|
.default_value("tmux set-buffer -- {} && tmux paste-buffer && tmux display-message \"Copied {}\""),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("osc52")
|
Arg::with_name("osc52")
|
||||||
|
Loading…
Reference in New Issue
Block a user