mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 23:56:58 +00:00
Typos, from someone in GitHub issue 4511.
This commit is contained in:
@ -35,7 +35,7 @@ set-option -g default-command 'tmux pipe-pane -o "cat >>~/tmux_logs/output-`date
|
|||||||
# from http://stackoverflow.com/questions/17255031/how-to-copy-from-tmux-running-in-putty-to-windows-clipbard
|
# from http://stackoverflow.com/questions/17255031/how-to-copy-from-tmux-running-in-putty-to-windows-clipbard
|
||||||
#
|
#
|
||||||
# for some reason this is wrapping at 80 cols, using save- instead of show- helps
|
# for some reason this is wrapping at 80 cols, using save- instead of show- helps
|
||||||
# -b for background is needed because xclip continues to run to service the clipboard paste reqeusts until the
|
# -b for background is needed because xclip continues to run to service the clipboard paste requests until the
|
||||||
# clipboard buffer is replaced with some new contents
|
# clipboard buffer is replaced with some new contents
|
||||||
#bind C-y run-shell -b "tmux save-buffer - | DISPLAY=$(<~/.xdisplay) xclip -selection clipboard -in && tmux display-message 'xclipped successfully'"
|
#bind C-y run-shell -b "tmux save-buffer - | DISPLAY=$(<~/.xdisplay) xclip -selection clipboard -in && tmux display-message 'xclipped successfully'"
|
||||||
bind C-y save-buffer ~/etc/clipboard.pipe
|
bind C-y save-buffer ~/etc/clipboard.pipe
|
||||||
|
@ -127,11 +127,11 @@ test_conditional_with_pane_in_mode "#{?pane_in_mode,{abc,xyz},bonus}" "{abc,bonu
|
|||||||
# invalid format: #{abc,xyz} is not a known variable name.
|
# invalid format: #{abc,xyz} is not a known variable name.
|
||||||
#test_conditional_with_pane_in_mode "#{?pane_in_mode,#{abc,xyz},bonus}" "" "bonus"
|
#test_conditional_with_pane_in_mode "#{?pane_in_mode,#{abc,xyz},bonus}" "" "bonus"
|
||||||
|
|
||||||
# Parenthesis (...) do not captura a comma, and "xyz)" is a false condition
|
# Parenthesis (...) do not capture a comma, and "xyz)" is a false condition
|
||||||
test_conditional_with_pane_in_mode "#{?pane_in_mode,(abc,xyz),bonus}" "(abc" ""
|
test_conditional_with_pane_in_mode "#{?pane_in_mode,(abc,xyz),bonus}" "(abc" ""
|
||||||
test_conditional_with_pane_in_mode "#{?pane_in_mode,(abc#,xyz),bonus}" "(abc,xyz)" "bonus"
|
test_conditional_with_pane_in_mode "#{?pane_in_mode,(abc#,xyz),bonus}" "(abc,xyz)" "bonus"
|
||||||
|
|
||||||
# Brackets [...] do not captura a comma, and "xyz]" is a false condition
|
# Brackets [...] do not capture a comma, and "xyz]" is a false condition
|
||||||
test_conditional_with_pane_in_mode "#{?pane_in_mode,[abc,xyz],bonus}" "[abc" ""
|
test_conditional_with_pane_in_mode "#{?pane_in_mode,[abc,xyz],bonus}" "[abc" ""
|
||||||
test_conditional_with_pane_in_mode "#{?pane_in_mode,[abc#,xyz],bonus}" "[abc,xyz]" "bonus"
|
test_conditional_with_pane_in_mode "#{?pane_in_mode,[abc#,xyz],bonus}" "[abc,xyz]" "bonus"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user