mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-04-14 22:31:46 +04:00
chore: update
This commit is contained in:
parent
eaccf45596
commit
d3790a167b
27 changed files with 715 additions and 229 deletions
|
|
@ -7,6 +7,9 @@ if status is-interactive
|
|||
if command -v zoxide > /dev/null
|
||||
zoxide init fish | source
|
||||
end
|
||||
if command -v carapace > /dev/null
|
||||
carapace _carapace | source
|
||||
end
|
||||
end
|
||||
|
||||
export GPG_TTY=(tty)
|
||||
|
|
|
|||
14
home/.config/nushell/config.nu
Normal file
14
home/.config/nushell/config.nu
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
source $"($nu.cache-dir)/carapace.nu"
|
||||
|
||||
let carapace_completer = {|spans|
|
||||
carapace $spans.0 nushell ...$spans | from json
|
||||
}
|
||||
|
||||
$env.config.completions = {
|
||||
algorithm: "fuzzy"
|
||||
external: {
|
||||
enable: true
|
||||
max_results: 100
|
||||
completer: $carapace_completer
|
||||
}
|
||||
}
|
||||
3
home/.config/nushell/env.nu
Normal file
3
home/.config/nushell/env.nu
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
$env.CARAPACE_BRIDGES = 'zsh,fish,bash,inshellisense'
|
||||
mkdir $"($nu.cache-dir)"
|
||||
carapace _carapace nushell | save --force $"($nu.cache-dir)/carapace.nu"
|
||||
Loading…
Add table
Add a link
Reference in a new issue