Update completions for the latest pijul

sloane
Apr 26, 2022, 3:56 AM
JFBGVGGUPET7D6MDDHIPMI4MUQCXOS27ZO253JSPYYRAD25FNIZAC

Dependencies

Change contents

  • replacement in pijul.fish at line 1
    [4.13][4.14:152]()
    set -l commands add apply archive change channel clone credit diff fork init log ls mv pull push record remote remove reset unrecord help
    [4.13]
    [4.152]
    # developed against pijul 1.0.0-beta.1
    # TODO: add pijul tracked file completions instead of stock fish completions
    set -l commands add apply archive change channel clone credit diff fork git init key list ls log move mv pull push record remote remove reset tag unrecord help
    function __fish_pijul_needs_command
    set -l cmd (commandline -opc)
    set -e cmd[1]
    if set -q cmd[1]
    echo $cmd[1]
    return 1
    end
    return 0
    end
    function __fish_pijul_seen_command
    set -l cmd (__fish_pijul_needs_command)
    if [ -z "$cmd" ]
    return 1
    end
    contains -- $cmd $argv
    return $status
    end
  • replacement in pijul.fish at line 28
    [2.16][2.16:78]()
    complete -f -c pijul -s h -l help -d "Print help information"
    [2.16]
    [2.78]
    complete -f -c pijul -s h -l help -d "Print help information"
  • replacement in pijul.fish at line 32
    [2.159][2.159:386]()
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "add" -d "Adds a path to the tree"
    complete -c pijul -n "__fish_seen_subcommand_from add" -l repository -d "Set the repository where this command should run."
    [2.159]
    [2.386]
    complete -c pijul -n __fish_pijul_needs_command -a add -d "Adds a path to the tree"
    complete -c pijul -n "__fish_pijul_seen_command add" -F
    complete -c pijul -n "__fish_pijul_seen_command add" -s f -l force
    complete -c pijul -n "__fish_pijul_seen_command add" -s r -l recursive
    function __fish_complete_pijul_channels
    # strip out the * from the current channel name
    for line in (pijul channel)
    echo (string split ' ' $line)[-1]
    end
    end
    function __fish_complete_pijul_changes
    # HASH<tab>MESSAGE
    pijul log --output-format json | jq -r 'map([.hash, .message])[] | @tsv'
    end
  • replacement in pijul.fish at line 50
    [2.401][2.401:886]()
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "apply" -d "Applies one channel to another"
    complete -c pijul -n "__fish_seen_subcommand_from apply" -l deps-only -d "Only apply the dependencies of this change, not the change itself"
    complete -c pijul -n "__fish_seen_subcommand_from apply" -l channel -d "Apply change to this channel"
    complete -c pijul -n "__fish_seen_subcommand_from apply" -l repository -d "Set the repository where this command should run."
    [2.401]
    [2.886]
    complete -c pijul -n __fish_pijul_needs_command -a apply -d "Applies changes to a channel"
    complete -c pijul -n "__fish_pijul_seen_command apply" -a "(__fish_complete_pijul_changes)"
    complete -c pijul -n "__fish_pijul_seen_command apply" -l channel -xa "(__fish_complete_pijul_channels)" -d "Apply change to this channel"
    complete -c pijul -n "__fish_pijul_seen_command apply" -l deps-only -d "Only apply the dependencies of this change, not the change itself"
    complete -c pijul -n "__fish_pijul_seen_command apply" -l repository -rF -d "Set the repository where this command should run"
  • replacement in pijul.fish at line 56
    [2.887][2.887:1877]()
    # pijul archive
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "archive" -d "Creates an archive of the repository"
    complete -c pijul -n "__fish_seen_subcommand_from archive" -s k -d "Do not check certificates (HTTPS remotes only, this option might be dangerous)"
    complete -c pijul -n "__fish_seen_subcommand_from archive" -s o -d "Name of the output file"
    complete -c pijul -n "__fish_seen_subcommand_from archive" -l change -d "Apply these changes after switching to the channel"
    complete -c pijul -n "__fish_seen_subcommand_from archive" -l remote -d "Ask the remote to send an archive"
    complete -c pijul -n "__fish_seen_subcommand_from archive" -l state -d "Archive in this state"
    complete -c pijul -n "__fish_seen_subcommand_from archive" -l channel -d "Use this channel, instead of the current channel"
    complete -c pijul -n "__fish_seen_subcommand_from archive" -l repository -d "Set the repository where this command should run"
    [2.887]
    [2.1877]
    function __fish_complete_pijul_remotes
    pijul remote | string trim | cut -d' ' -f2
    end
  • replacement in pijul.fish at line 60
    [2.1878][2.1878:2156]()
    # pijul change
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "change" -d "Shows information about a particular change"
    complete -c pijul -n "__fish_seen_subcommand_from change" -l repository -d "Use the repository at PATH instead of the current directory"
    [2.1878]
    [2.2156]
    # # pijul archive
    complete -c pijul -n __fish_pijul_needs_command -a archive -d "Creates an archive of the repository"
    complete -c pijul -n "__fish_pijul_seen_command archive" -l change -xa "(__fish_complete_pijul_changes)" -d "Apply these changes after switching to the channel"
    complete -c pijul -n "__fish_pijul_seen_command archive" -l channel -xa "(__fish_complete_pijul_channels)" -d "Use this channel, instead of the current channel"
    complete -c pijul -n "__fish_pijul_seen_command archive" -s k -d "Do not check certificates (HTTPS remotes only, this option might be dangerous)"
    complete -c pijul -n "__fish_pijul_seen_command archive" -s o -rF -d "Name of the output file"
    complete -c pijul -n "__fish_pijul_seen_command archive" -l prefix -r -d "Append this path in front of each path inside the archive"
    complete -c pijul -n "__fish_pijul_seen_command archive" -l remote -xa "(__fish_complete_pijul_remotes)" -d "Ask the remote to send an archive"
    complete -c pijul -n "__fish_pijul_seen_command archive" -l repository -rF -d "Set the repository where this command should run"
    # TODO: completions for state argument
    complete -c pijul -n "__fish_pijul_seen_command archive" -l state -r -d "Archive in this state"
    complete -c pijul -n "__fish_pijul_seen_command archive" -l umask -r
  • replacement in pijul.fish at line 73
    [2.2157][2.2157:2794]()
    #pijul channel
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "channel" -d "Manages different channels"
    complete -c pijul -n "__fish_seen_subcommand_from channel" -a delete -d "Delete a channel. The channel must not be the current channel"
    complete -c pijul -n "__fish_seen_subcommand_from channel" -a help -d "Prints this message or the help of the given subcommand(s)"
    complete -c pijul -n "__fish_seen_subcommand_from channel" -a rename -d "Rename a channel"
    complete -c pijul -n "__fish_seen_subcommand_from channel" -a switch -d "Switch to a channel. There must not be unrecorded changes in the working copy"
    [2.2157]
    [2.2794]
    # # pijul change
    complete -c pijul -n __fish_pijul_needs_command -a change -d "Shows information about a particular change"
    complete -c pijul -n "__fish_pijul_seen_command change" -a "(__fish_complete_pijul_changes)"
    complete -c pijul -n "__fish_pijul_seen_command change" -l repository -rF -d "Use the repository at PATH instead of the current directory"
    # #pijul channel
    set -l channel_commands delete new rename switch
    complete -c pijul -n __fish_pijul_needs_command -a channel -d "Manages different channels"
    complete -c pijul -n "__fish_pijul_seen_command channel" -l repository -rF -d "Set the repository where this command should run"
    complete -c pijul -n "__fish_pijul_seen_command channel; and not __fish_seen_subcommand_from $channel_commands" -a delete -d "Delete a channel. The channel must not be the current channel"
    complete -c pijul -n "__fish_pijul_seen_command channel; and not __fish_seen_subcommand_from $channel_commands" -a new -d "Create a new, empty channel"
    complete -c pijul -n "__fish_pijul_seen_command channel; and not __fish_seen_subcommand_from $channel_commands" -a rename -d "Rename a channel"
    complete -c pijul -n "__fish_pijul_seen_command channel; and not __fish_seen_subcommand_from $channel_commands" -a switch -d "Switch to a channel. There must not be unrecorded changes in the working copy"
    complete -c pijul -n "__fish_pijul_seen_command channel; and __fish_seen_subcommand_from switch" -s f -l force
    complete -c pijul -n "__fish_pijul_seen_command channel; and __fish_seen_subcommand_from delete rename switch" -xa "(__fish_complete_pijul_channels)"
  • replacement in pijul.fish at line 89
    [2.2795][2.2795:3585]()
    # pijul clone
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "clone" -d "Clones an existing pijul repository"
    complete -c pijul -n "__fish_seen_subcommand_from clone" -s k -d "Do not check certificates (HTTPS remotes only, this option might be dangerous)"
    complete -c pijul -n "__fish_seen_subcommand_from clone" -l lazy -d "Only download changes with alive contents"
    complete -c pijul -n "__fish_seen_subcommand_from clone" -l change -d "Clone this change and its dependencies"
    complete -c pijul -n "__fish_seen_subcommand_from clone" -l channel -d "Set the remote channel"
    complete -c pijul -n "__fish_seen_subcommand_from clone" -l path -d "Clone this path only"
    complete -c pijul -n "__fish_seen_subcommand_from clone" -l state -d "Clone this state"
    [2.2795]
    [2.3585]
    # # pijul clone
    complete -c pijul -n __fish_pijul_needs_command -a clone -d "Clones an existing pijul repository"
    complete -c pijul -n "__fish_pijul_seen_command clone" -l change -x -d "Clone this change and its dependencies"
    complete -c pijul -n "__fish_pijul_seen_command clone" -l channel -x -d "Set the remote channel"
    complete -c pijul -n "__fish_pijul_seen_command clone" -s k -d "Do not check certificates (HTTPS remotes only, this option might be dangerous)"
    complete -c pijul -n "__fish_pijul_seen_command clone" -l path -x -d "Clone this path only"
    complete -c pijul -n "__fish_pijul_seen_command clone" -l state -x -d "Clone this state"
    # # pijul credit
    complete -c pijul -n __fish_pijul_needs_command -a credit -d "Shows which patch last affected each line of every file"
    complete -c pijul -n "__fish_pijul_seen_command credit" -F
    complete -c pijul -n "__fish_pijul_seen_command credit" -l channel -xa "(__fish_complete_pijul_channels)" -d "Use this channel, instead of the current channel"
    complete -c pijul -n "__fish_pijul_seen_command credit" -l repository -rF -d "Set the repository where this command should run"
  • replacement in pijul.fish at line 103
    [2.3586][2.3586:3988]()
    # pijul credit
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "credit" -d "Shows which patch last affected each line of every file"
    complete -c pijul -n "__fish_seen_subcommand_from credit" -l repository -d "Set the repository where this command should run"
    complete -c pijul -n "__fish_seen_subcommand_from credit" -l channel -d "Use this channel, instead of the current channel"
    [2.3586]
    [2.3988]
    # # pijul diff
    complete -c pijul -n __fish_pijul_needs_command -a diff -d "Shows difference between two channels/changes"
    complete -c pijul -n "__fish_pijul_seen_command diff" -F
    complete -c pijul -n "__fish_pijul_seen_command diff" -l channel -xa "(__fish_complete_pijul_channels)" -d "Use this channel, instead of the current channel"
    complete -c pijul -n "__fish_pijul_seen_command diff" -l json -d "Output the diff in JSON format instead of the default change text format"
    complete -c pijul -n "__fish_pijul_seen_command diff" -l repository -rF -d "Set the repository where this command should run"
    complete -c pijul -n "__fish_pijul_seen_command diff" -s s -l short -d "Show a short version of the diff"
    complete -c pijul -n "__fish_pijul_seen_command diff" -l tag -d "Add all the changes of this channel as dependencies (except changes implied transitively), instead of the minimal dependencies"
    complete -c pijul -n "__fish_pijul_seen_command diff" -s u -l untracked -d "Include the untracked files"
  • replacement in pijul.fish at line 113
    [2.3989][2.3989:4834]()
    # pijul diff
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "diff" -d "Shows difference between two channels/changes"
    complete -c pijul -n "__fish_seen_subcommand_from diff" -l channel -d "Use this channel, instead of the current channel"
    complete -c pijul -n "__fish_seen_subcommand_from diff" -l repository -d "Set the repository where this command should run"
    complete -c pijul -n "__fish_seen_subcommand_from diff" -l json -d "Output the diff in JSON format instead of the default change text format"
    complete -c pijul -n "__fish_seen_subcommand_from diff" -l tag -d "Add all the changes of this channel as dependencies (except changes implied transitively), instead of the minimal dependencies"
    complete -c pijul -n "__fish_seen_subcommand_from diff" -l short -d "Show a short version of the diff"
    [2.3989]
    [2.4834]
    # # pijul fork
    complete -c pijul -n __fish_pijul_needs_command -a fork -d "Create a new channel"
    complete -c pijul -n "__fish_pijul_seen_command fork"
    complete -c pijul -n "__fish_pijul_seen_command fork" -l change -xa "(__fish_complete_pijul_changes)" -d "Apply this change after creating the channel"
    complete -c pijul -n "__fish_pijul_seen_command fork" -l channel -xa "(__fish_complete_pijul_channels)" -d "Make the new channel from this channel instead of the current channel"
    complete -c pijul -n "__fish_pijul_seen_command fork" -l repository -rF -d "Set the repository where this command should run"
  • replacement in pijul.fish at line 120
    [2.4835][2.4835:5338]()
    # pijul fork
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "fork" -d "Create a new channel"
    complete -c pijul -n "__fish_seen_subcommand_from fork" -l change -d "Apply this change after creating the channel"
    complete -c pijul -n "__fish_seen_subcommand_from fork" -l channel -d "Make the new channel from this channel instead of the current channel"
    complete -c pijul -n "__fish_seen_subcommand_from fork" -l repository -d "Set the repository where this command should run"
    [2.4835]
    [2.5338]
    # # pijul git
    complete -c pijul -n __fish_pijul_needs_command -a git -d "Imports a git repository into pijul"
    complete -c pijul -n "__fish_pijul_seen_command git" -F
  • replacement in pijul.fish at line 125
    [2.5352][2.5352:5578]()
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "init" -d "Initializes an empty pijul repository"
    complete -c pijul -n "__fish_seen_subcommand_from fork" -l channel -d "Set the name of the current channel"
    [2.5352]
    [2.5578]
    complete -c pijul -n __fish_pijul_needs_command -a init -d "Initializes an empty pijul repository"
    complete -c pijul -n "__fish_pijul_seen_command init" -F
    complete -c pijul -n "__fish_pijul_seen_command init" -l channel -xa "(__fish_complete_pijul_channels)" -d "Set the name of the current channel"
    complete -c pijul -n "__fish_pijul_seen_command init" -s k -l kind -xa "rust node nodejs lean" -d "Project kind"
    # pijul key
    set -l key_commands generate prove
    complete -c pijul -n __fish_pijul_needs_command -a key -d "Key generation and management"
    complete -c pijul -n "__fish_pijul_seen_command key; and not __fish_seen_subcommand_from $key_commands" -a generate -d "Generate a new key"
    complete -c pijul -n "__fish_pijul_seen_command key; and not __fish_seen_subcommand_from $key_commands" -a prove -d "Associate a generated key with a remote identity"
    complete -c pijul -n "__fish_pijul_seen_command key; and __fish_seen_subcommand_from generate" -l email -d "Email to associate with the local identity"
    complete -c pijul -n "__fish_pijul_seen_command key; and __fish_seen_subcommand_from generate" -x
    complete -c pijul -n "__fish_pijul_seen_command key; and __fish_seen_subcommand_from prove" -s k -d "Do not check certificates (HTTPS remotes only, this option might be dangerous)"
    complete -c pijul -n "__fish_pijul_seen_command key; and __fish_seen_subcommand_from prove" -xa "(__fish_complete_pijul_remotes)"
    # pijul list
    for x in list ls
    complete -c pijul -n __fish_pijul_needs_command -a $x -d "List files tracked by pijul"
    complete -c pijul -n "__fish_pijul_seen_command $x" -l repository -rF -d "Set the repository where this command should run"
    end
  • replacement in pijul.fish at line 147
    [2.5591][2.5591:6312]()
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "log" -d "Show the entire log of changes"
    complete -c pijul -n "__fish_seen_subcommand_from log" -l description -d "Include full change description in the output"
    complete -c pijul -n "__fish_seen_subcommand_from log" -l hash-only -d "Only show the change hashes"
    complete -c pijul -n "__fish_seen_subcommand_from log" -l state -d "Include state identifiers in the output"
    complete -c pijul -n "__fish_seen_subcommand_from log" -l channel -d "Show logs for this channel instead of the current channel"
    complete -c pijul -n "__fish_seen_subcommand_from log" -l repository -d "Set the repository where this command should run"
    [2.5591]
    [4.174]
    complete -c pijul -n __fish_pijul_needs_command -a log -d "Show the entire log of changes"
    complete -c pijul -n "__fish_pijul_seen_command log" -l channel -xa "(__fish_complete_pijul_channels)" -d "Show logs for this channel instead of the current channel"
    complete -c pijul -n "__fish_pijul_seen_command log" -l description -d "Include full change description in the output"
    complete -c pijul -n "__fish_pijul_seen_command log" -l hash-only -d "Only show the change hashes"
    complete -c pijul -n "__fish_pijul_seen_command log" -l limit -r -d "Show logs for this channel instead of the current channel"
    complete -c pijul -n "__fish_pijul_seen_command log" -l offset -r -d "Show logs for this channel instead of the current channel"
    complete -c pijul -n "__fish_pijul_seen_command log" -l output-format -xa "json default" -d "Output format of logs"
    complete -c pijul -n "__fish_pijul_seen_command log" -l repository -rF -d "Set the repository where this command should run"
    complete -c pijul -n "__fish_pijul_seen_command log" -l state -d "Include state identifiers in the output"
  • replacement in pijul.fish at line 157
    [4.175][2.6313:6552]()
    # pijul ls
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "ls" -d "List files tracked by pijul"
    complete -c pijul -n "__fish_seen_subcommand_from ls" -l repository -d "Set the repository where this command should run"
    [4.175]
    [2.6552]
    # pijul move
    for x in move mv
    complete -c pijul -n __fish_pijul_needs_command -a $x -d "Moves a file in the working copy and the tree"
    complete -c pijul -n "__fish_pijul_seen_command $x" -rF
    end
  • edit in pijul.fish at line 163
    [2.6553][2.6553:6810](),[2.6810][2.6810:6811]()
    # pijul mv
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "mv" -d "Moves a file in the working copy and the tree"
    complete -c pijul -n "__fish_seen_subcommand_from mv" -l repository -d "Set the repository where this command should run"
  • replacement in pijul.fish at line 164
    [2.6824][2.6824:7781]()
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "pull" -d "Pulls changes from a remote upstream"
    complete -c pijul -n "__fish_seen_subcommand_from pull" -s k -d "Do not check certificates (HTTPS remotes only, this option might be dangerous)"
    complete -c pijul -n "__fish_seen_subcommand_from pull" -s a -l all -d "Pull all changes"
    complete -c pijul -n "__fish_seen_subcommand_from pull" -l full -d "Download full changes, even when not necessory"
    complete -c pijul -n "__fish_seen_subcommand_from pull" -l channel -d "Pull into this channel instead of the current channel"
    complete -c pijul -n "__fish_seen_subcommand_from pull" -l from-channel -d "Pull from this remote channel"
    complete -c pijul -n "__fish_seen_subcommand_from pull" -l path -d "Only pull to these paths"
    complete -c pijul -n "__fish_seen_subcommand_from pull" -l repository -d "Set the repository where this command should run"
    [2.6824]
    [2.7781]
    complete -c pijul -n __fish_pijul_needs_command -a pull -d "Pulls changes from a remote upstream"
    complete -c pijul -n "__fish_pijul_seen_command pull" -a "(__fish_complete_pijul_remotes)"
    complete -c pijul -n "__fish_pijul_seen_command pull" -s a -l all -d "Pull all changes"
    complete -c pijul -n "__fish_pijul_seen_command pull" -s f -l force-cache -d "Force an update of the local remote cache"
    complete -c pijul -n "__fish_pijul_seen_command pull" -l from-channel -xa "(__fish_complete_pijul_channels)" -d "Pull from this remote channel"
    complete -c pijul -n "__fish_pijul_seen_command pull" -l full -d "Download full changes, even when not necessory"
    complete -c pijul -n "__fish_pijul_seen_command pull" -s k -d "Do not check certificates (HTTPS remotes only, this option might be dangerous)"
    complete -c pijul -n "__fish_pijul_seen_command pull" -l path -rF -d "Only pull to these paths"
    complete -c pijul -n "__fish_pijul_seen_command pull" -l repository -rF -d "Set the repository where this command should run"
    complete -c pijul -n "__fish_pijul_seen_command pull" -l to-channel -xa "(__fish_complete_pijul_channels)" -d "Pull into this channel instead of the current channel"
  • replacement in pijul.fish at line 176
    [2.7795][2.7795:8700]()
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "push" -d "Pushes changes to a remote upstream"
    complete -c pijul -n "__fish_seen_subcommand_from push" -s k -d "Do not check certificates (HTTPS remotes only, this option might be dangerous)"
    complete -c pijul -n "__fish_seen_subcommand_from push" -s a -l all -d "Pull all changes"
    complete -c pijul -n "__fish_seen_subcommand_from push" -l channel -d "Push from this channel instead of the default channel"
    complete -c pijul -n "__fish_seen_subcommand_from push" -l path -d "Push changes only relating to these paths"
    complete -c pijul -n "__fish_seen_subcommand_from push" -l repository -d "Path to the repository. Uses the current repository if the argument is omitted"
    complete -c pijul -n "__fish_seen_subcommand_from push" -l to-channel -d "Push to this remote channel instead of the remote's default channel"
    [2.7795]
    [2.8700]
    complete -c pijul -n __fish_pijul_needs_command -a push -d "Pushes changes to a remote upstream"
    complete -c pijul -n "__fish_pijul_seen_command push" -a "(__fish_complete_pijul_remotes)"
    complete -c pijul -n "__fish_pijul_seen_command push" -s a -l all -d "Pull all changes"
    complete -c pijul -n "__fish_pijul_seen_command push" -s f -l force-cache -d "Force an update of the local remote cache"
    complete -c pijul -n "__fish_pijul_seen_command push" -l from-channel -xa "(__fish_complete_pijul_channels)" -d "Push from this channel instead of the default channel"
    complete -c pijul -n "__fish_pijul_seen_command push" -s k -d "Do not check certificates (HTTPS remotes only, this option might be dangerous)"
    complete -c pijul -n "__fish_pijul_seen_command push" -l path -rF -d "Push changes only relating to these paths"
    complete -c pijul -n "__fish_pijul_seen_command push" -l repository -rF -d "Path to the repository. Uses the current repository if the argument is omitted"
    complete -c pijul -n "__fish_pijul_seen_command push" -l to-channel -xa "(__fish_complete_pijul_channels)" -d "Push to this remote channel instead of the remote's default channel"
  • replacement in pijul.fish at line 187
    [2.8716][2.8716:9821]()
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "record" -d "Creates a new change"
    complete -c pijul -n "__fish_seen_subcommand_from record" -s S -d "Sign the change with the default key"
    complete -c pijul -n "__fish_seen_subcommand_from record" -s a -l all -d "Record all paths that have changed"
    complete -c pijul -n "__fish_seen_subcommand_from record" -s m -l message -d "Set the change message"
    complete -c pijul -n "__fish_seen_subcommand_from record" -l amend -d "Amend this change instead of creating a new change"
    complete -c pijul -n "__fish_seen_subcommand_from record" -l author -d "Set the author field"
    complete -c pijul -n "__fish_seen_subcommand_from record" -l channel -d "Record the change in this channel instead of the current channel"
    complete -c pijul -n "__fish_seen_subcommand_from record" -l repository -d "Set the repository where this command should run"
    complete -c pijul -n "__fish_seen_subcommand_from record" -l timestamp -d "Set the timestamp field"
    complete -c pijul -n "__fish_seen_subcommand_from record" -l tag
    [2.8716]
    [2.9821]
    complete -c pijul -n __fish_pijul_needs_command -a record -d "Creates a new change"
    complete -c pijul -n "__fish_pijul_seen_command record" -F
    complete -c pijul -n "__fish_pijul_seen_command record" -s a -l all -d "Record all paths that have changed"
    complete -c pijul -n "__fish_pijul_seen_command record" -l amend -xa "(__fish_complete_pijul_changes)" -d "Amend this change instead of creating a new change"
    complete -c pijul -n "__fish_pijul_seen_command record" -l author -x -d "Set the author field"
    complete -c pijul -n "__fish_pijul_seen_command record" -l channel -xa "(__fish_complete_pijul_channels)" -d "Record the change in this channel instead of the current channel"
    complete -c pijul -n "__fish_pijul_seen_command record" -l ignore-missing -d "Ignore missing (deleted) files"
    complete -c pijul -n "__fish_pijul_seen_command record" -s m -l message -x -d "Set the change message"
    complete -c pijul -n "__fish_pijul_seen_command record" -l repository -rF -d "Set the repository where this command should run"
    complete -c pijul -n "__fish_pijul_seen_command record" -l timestamp -x -d "Set the timestamp field"
    complete -c pijul -n "__fish_pijul_seen_command record" -l working-copy -x
  • replacement in pijul.fish at line 199
    [2.9822][2.9822:9837](),[2.9837][2.9837:10297]()
    # pijul remote
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "remote" -d "Manages remote repositories"
    complete -c pijul -n "__fish_seen_subcommand_from remote" -l repository -d "Set the repository where this command should run"
    complete -c pijul -n "__fish_seen_subcommand_from remote" -a delete -d "Deletes the remote"
    complete -c pijul -n "__fish_seen_subcommand_from remote" -a help -d "Prints this message or the help of the given subcommand(s)"
    [2.9822]
    [2.10297]
    function __fish_complete_pijul_remote_ids
    pijul remote | string trim | string replace -r ": " "\t"
    end
  • edit in pijul.fish at line 203
    [2.10298]
    [4.0]
    # pijul remote
    set -l remote_commands delete
    complete -c pijul -n __fish_pijul_needs_command -a remote -d "Manages remote repositories"
    complete -c pijul -n "__fish_pijul_seen_command remote" -l repository -rF -d "Set the repository where this command should run"
    complete -c pijul -n "__fish_pijul_seen_command remote; and not __fish_seen_subcommand_from $remote_commands" -a delete -d "Delete a remote"
    complete -c pijul -n "__fish_pijul_seen_command remote; and __fish_seen_subcommand_from delete" -xa "(__fish_complete_pijul_remote_ids)"
  • replacement in pijul.fish at line 211
    [2.10314][2.10314:10566]()
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "remove" -d "Removes a file from the tree and pristine"
    complete -c pijul -n "__fish_seen_subcommand_from remove" -l repository -d "Set the repository where this command should run"
    [2.10314]
    [2.10566]
    complete -c pijul -n __fish_pijul_needs_command -a remove -d "Removes a file from the tree and pristine"
    complete -c pijul -n "__fish_pijul_seen_command remove" -l repository -d "Set the repository where this command should run"
  • replacement in pijul.fish at line 215
    [2.10581][2.10581:10993]()
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "reset" -d "Reverts the working copy to the given hash"
    complete -c pijul -n "__fish_seen_subcommand_from reset" -l channel -d "Reset the working copy to this channel, and change the current channel to this channel"
    complete -c pijul -n "__fish_seen_subcommand_from reset" -l repository -d "Set the repository where this command should run"
    [2.10581]
    [2.10993]
    complete -c pijul -n __fish_pijul_needs_command -a reset -d "Reverts the working copy to the given hash"
    complete -c pijul -n "__fish_pijul_seen_command reset" -F
    complete -c pijul -n "__fish_pijul_seen_command reset" -l channel -xa "(__fish_complete_pijul_channels)" -d "Reset the working copy to this channel, and change the current channel to this channel"
    complete -c pijul -n "__fish_pijul_seen_command reset" -l dry-run -d "Print a single file reset to the standard output"
    complete -c pijul -n "__fish_pijul_seen_command reset" -s f -l force -d "Reset even if there are unrecorded changes"
    complete -c pijul -n "__fish_pijul_seen_command reset" -l repository -rF -d "Set the repository where this command should run"
  • replacement in pijul.fish at line 223
    [2.11011][2.11011:11411]()
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "unrecord" -d "Unrecords all changes up to the given hash"
    complete -c pijul -n "__fish_seen_subcommand_from unrecord" -l channel -d "Unrecord changes from this channel instead of the current channel"
    complete -c pijul -n "__fish_seen_subcommand_from unrecord" -l repository -d "Set the repository where this command should run"
    [2.11011]
    [2.11411]
    complete -c pijul -n __fish_pijul_needs_command -a unrecord -d "Unrecords a list of changes"
    complete -c pijul -n "__fish_pijul_seen_command unrecord" -a "(__fish_complete_pijul_changes)"
    complete -c pijul -n "__fish_pijul_seen_command unrecord" -l channel -xa "(__fish_complete_pijul_channels)" -d "Unrecord changes from this channel instead of the current channel"
    complete -c pijul -n "__fish_pijul_seen_command unrecord" -l repository -rF -d "Set the repository where this command should run"
    complete -c pijul -n "__fish_pijul_seen_command unrecord" -l reset -d "Also undo the changes in the working copy"
    complete -c pijul -n "__fish_pijul_seen_command unrecord" -l show-changes -d "Show the last N changes in interactive mode"
  • replacement in pijul.fish at line 231
    [2.11425][2.11425:11527](),[2.11527][4.107:108](),[4.107][4.107:108]()
    complete -c pijul -n "not __fish_seen_subcommand_from $commands" -a "help" -d "Print pijul help text"
    [2.11425]
    complete -c pijul -n __fish_pijul_needs_command -a help -d "Print pijul help text"
  • file addition: .ignore (----------)
    [3.1]
    .git
    .DS_Store
    .nvimlog
    result