Fossil: Check-in [57b77d4a28]

Fossil SCM

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add specific support for checkout and timeline commands
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | zsh-completion
Files: files | file ages | folders
SHA3-256:57b77d4a2850d85c331e5f02ddd7599bf1a182977044cceab4fa74d34f22ea48
User & Date: milouse 2019-05-29 07:34:56
Context
2019-05-29
07:34
Add specific support for checkout and timeline commands Leaf check-in: 57b77d4a28 user: milouse tags: zsh-completion
2018-12-05
09:01
Follow zsh guidelines for autocompletion script (https://github.com/zsh-users/zsh/blob/master/Etc/completion-style-guide)) check-in: 5d66314586 user: milouse tags: zsh-completion
Changes

Changes to tools/fossil-autocomplete.zsh.

102
103
104
105
106
107
108
109




110
111
112
113
114
115
116
      [ ${#subcmds} -gt 0 ] && _values 'subcommands' $subcmds && ret=0
      unset subcmds

      case $words[2] in
        all|help)
          __fossil_commands
          ;;
        merge|up*)




          __fossil_branches
          ;;
        branch)
          [ ${#words} -gt 2 ] && [ "$words[3]" = 'info' ] && \
              __fossil_branches
          ;;
        'unset'|'set'*)







|
>
>
>
>







102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
      [ ${#subcmds} -gt 0 ] && _values 'subcommands' $subcmds && ret=0
      unset subcmds

      case $words[2] in
        all|help)
          __fossil_commands
          ;;
        co|checkout|merge|up*)
          __fossil_branches
          ;;
        tim*)
          [ ${#words} -eq 3 ] && _arguments '*:WHEN:(before after children parents)'
          __fossil_branches
          ;;
        branch)
          [ ${#words} -gt 2 ] && [ "$words[3]" = 'info' ] && \
              __fossil_branches
          ;;
        'unset'|'set'*)