diff --git a/zsh/expand-multiple-dots.zsh b/zsh/expand-multiple-dots.zsh index 1c45c4c..def0e22 100644 --- a/zsh/expand-multiple-dots.zsh +++ b/zsh/expand-multiple-dots.zsh @@ -1,3 +1,5 @@ +# Based on http://stackoverflow.com/a/41420448/4757 + function expand-multiple-dots() { local MATCH if [[ $LBUFFER =~ '(^| )\.\.\.+' ]]; then