nushell stuff
This commit is contained in:
parent
396aee7db9
commit
fbd6656d80
6 changed files with 36 additions and 85 deletions
8
modules/home/shell-conf/nushell/config.nu
Normal file
8
modules/home/shell-conf/nushell/config.nu
Normal file
|
@ -0,0 +1,8 @@
|
|||
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