Skip to content

Commit 55640d1

Browse files
author
Bruno Sutic
committed
Merge pull request #74 from jbnicolai/fix/72
Adds `ssh://` to `url_search`.
2 parents 0f905ad + 5113391 commit 55640d1

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)