nushell stuff again
This commit is contained in:
parent
fbd6656d80
commit
62ff7c5bcf
5 changed files with 53 additions and 14 deletions
|
@ -1,8 +1 @@
|
|||
let fish_completer = {|spans|
|
||||
fish --command $"complete '--do-complete=($spans | str replace --all "'" "\\'" | str join ' ')'"
|
||||
| from tsv --flexible --noheaders --no-infer
|
||||
| rename value description
|
||||
| update value {
|
||||
if ($in | path exists) {$'"($in | path expand --no-symlink | str replace --all "\"" "\\\"" )"'} else {$in}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue