dotfiles
bugabingas dorkfiles
owned by bugabinga
nushell: remove buggy svn completions
d91fa41ca5b7216e6d1dc3160e4410e291823b8b
Oliver Krylow <o.krylow@isp-insoft.de> ·
unsigned
Browse filesCompare with HEAD
Changed files (2)
nushell/completions/svn-completions.nu
Deleteddeleted file mode 100644 1 -def "complete svn subcommands" [] {
4 - | skip until { | line |
$line | str starts-with
"Available subcommands:" }
6 - |
each { |line|
$line | str trim }
7 - | take until { |line|
$line | empty? }
14 -def "complete svn add paths" [] {
15 - ^svn status --depth infinity
17 - | parse
"{mode} {file}" 23 -def "complete svn revert paths" [] {
24 - ^svn status --depth infinity
26 - | parse
"{mode} {file}" 32 -def "complete svn depth" [] { [
'empty',
'files',
'immediates',
'infinity'] }
34 -def "complete svn changelists" [] {
35 - ^svn status --depth infinity
37 - | parse
"--- Changelist '{changelist}':" 38 - | get --ignore-errors changelist
54 -export extern "svn help" [
55 - subcommand?: string@
"complete svn subcommands" 67 -export extern "svn status" [
71 - --depth: string@
"complete svn depth" 72 - --revision(-r): string
85 - --changelist:string@
"complete svn changelists" 93 -export extern "svn add" [
94 - paths: path@
"complete svn add paths" 97 - --depth: string@
"complete svn depth" 107 -export extern "svn revert" [
108 - paths: path@
"complete svn revert paths" 111 - --depth: string@
"complete svn depth" 113 - --changelist: string@
"complete svn changelists" 122 -export extern "svn checkout" [
123 - ...url_with_rev:string
134 - --depth: string@
"complete svn depth" nushell/config.nu
Modified 14 -use svn-completions.nu *
18 15 let default_theme = {