config: minor changes and fixes
This commit is contained in:
parent
d8a9db867c
commit
16afcd6838
6 changed files with 26 additions and 59 deletions
|
|
@ -22,7 +22,7 @@ $env.config.completions = {
|
|||
enable: true
|
||||
max_results: 100
|
||||
completer: {|tokens: list<string>|
|
||||
let expanded = scope aliases | where name == $tokens.0 | get --ignore-errors expansion.0
|
||||
let expanded = scope aliases | where name == $tokens.0 | get --optional expansion.0
|
||||
|
||||
mut expanded_tokens = if $expanded != null and $tokens.0 != "cd" {
|
||||
$expanded | split row " " | append ($tokens | skip 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue