Skip to content

Commit

Permalink
Attempt to delegate to source_sh for completion
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Sep 5, 2024
1 parent 3d9c536 commit 1fdba8c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions home-manager/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@
completionInit = ''
# `autoload` enable to use compinit
autoload -Uz compinit && _compinit_with_interval
# for cargo-make
autoload -U +X bashcompinit && bashcompinit
'';

# Setting bindkey
Expand Down Expand Up @@ -206,8 +204,6 @@
source "${pkgs.fzf-git-sh}/share/fzf-git-sh/fzf-git.sh"
source "${pkgs.podman}/share/zsh/site-functions/_podman"
# cargo-make recommends to use bash completions for zsh
source "${homemade-pkgs.cargo-make-completions}/share/bash-completion/completions/makers-completion.bash"
source "${../dependencies/dprint/completions.zsh}"
source "${../dependencies/goldwarden/completions.zsh}"
Expand All @@ -222,6 +218,8 @@
}
source_sh "${homemade-pkgs.posix_shared_functions}"
# cargo-make recommends to use bash completions for zsh
source_sh "${homemade-pkgs.cargo-make-completions}/share/bash-completion/completions/makers-completion.bash"
if [ 'linux' = "$TERM" ]; then
disable_blinking_cursor
Expand Down

0 comments on commit 1fdba8c

Please sign in to comment.