mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Merge 02a2792df0 into 7f07facf41
This commit is contained in:
commit
881ba42015
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ wd_add()
|
|||
if [[ $point =~ "^[\.]+$" ]]
|
||||
then
|
||||
wd_print_msg $RED "Warp point cannot be just dots"
|
||||
elif [[ $point =~ "(\s|\ )+" ]]
|
||||
elif [[ $point =~ [[:space:]]+ ]]
|
||||
then
|
||||
wd_print_msg $RED "Warp point should not contain whitespace"
|
||||
elif [[ $point == *:* ]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue