Skip to content

Commit 5113391

Browse files
author
Joshua Appelman
committed
Adds ssh:// to url_search.
Closes #72
1 parent 0f905ad commit 5113391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

copycat.tmux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set_default_stored_searches() {
1414
local ip_search="$(get_tmux_option "$copycat_ip_search_option" "$default_ip_search_key")"
1515

1616
if stored_search_not_defined "$url_search"; then
17-
tmux set-option -g "${COPYCAT_VAR_PREFIX}_${url_search}" "(https?://|git@|git://|ftp://|file:///)[[:alnum:]?=%/_.:,;~@!#$&()*+-]*"
17+
tmux set-option -g "${COPYCAT_VAR_PREFIX}_${url_search}" "(https?://|git@|git://|ssh://|ftp://|file:///)[[:alnum:]?=%/_.:,;~@!#$&()*+-]*"
1818
fi
1919
if stored_search_not_defined "$file_search"; then
2020
tmux set-option -g "${COPYCAT_VAR_PREFIX}_${file_search}" "(^|^\.|[[:space:]]|[[:space:]]\.|[[:space:]]\.\.|^\.\.)[[:alnum:]~_-]*/[][[:alnum:]_.#$%&+=/@-]*"

0 commit comments

Comments
 (0)