added missing fzf search
This commit is contained in:
@@ -33,10 +33,10 @@
|
|||||||
packages = {
|
packages = {
|
||||||
zsh = inputs.wrappers.wrappers.zsh.wrap {
|
zsh = inputs.wrappers.wrappers.zsh.wrap {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
runtimePkgs = [pkgs.carapace];
|
runtimePkgs = [pkgs.carapace pkgs.fzf];
|
||||||
zshAliases = {
|
zshAliases = {
|
||||||
ls = "${lib.getExe pkgs.lsd} -l";
|
ls = "${lib.getExe pkgs.lsd} -l";
|
||||||
v = lib.getExe self'.packages.nvim;
|
v = lib.getExe self'.packages.nvim;
|
||||||
cat = lib.getExe pkgs.bat;
|
cat = lib.getExe pkgs.bat;
|
||||||
lg = lib.getExe pkgs.lazygit;
|
lg = lib.getExe pkgs.lazygit;
|
||||||
devenv = lib.getExe pkgs.devenv;
|
devenv = lib.getExe pkgs.devenv;
|
||||||
@@ -45,20 +45,22 @@
|
|||||||
nsh = "nix-shell -p";
|
nsh = "nix-shell -p";
|
||||||
};
|
};
|
||||||
zshrc.content = ''
|
zshrc.content = ''
|
||||||
autoload -U compinit && compinit
|
autoload -U compinit && compinit
|
||||||
export CARAPACE_BRIDGES='zsh,fish,bash,inshellisense' # optional
|
export CARAPACE_BRIDGES='zsh,fish,bash,inshellisense' # optional
|
||||||
zstyle ':completion:*' format $'\e[2;37mCompleting %d\e[m'
|
zstyle ':completion:*' format $'\e[2;37mCompleting %d\e[m'
|
||||||
source <(${lib.getExe pkgs.carapace} _carapace)
|
source <(${lib.getExe pkgs.carapace} _carapace)
|
||||||
zstyle ':completion:*' matcher-list 'm:{[:lower:]}={[:upper:]}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
zstyle ':completion:*' matcher-list 'm:{[:lower:]}={[:upper:]}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||||
|
|
||||||
setopt NO_CASE_GLOB
|
source <(${lib.getExe pkgs.fzf} --zsh)
|
||||||
|
|
||||||
export EDITOR=nvim
|
setopt NO_CASE_GLOB
|
||||||
|
|
||||||
eval "$(${lib.getExe pkgs.devenv} hook zsh)"
|
export EDITOR=nvim
|
||||||
eval "$(${lib.getExe self'.packages.ohMyPosh} init zsh)"
|
|
||||||
|
|
||||||
${lib.getExe pkgs.any-nix-shell} zsh --info-right | source /dev/stdin
|
eval "$(${lib.getExe pkgs.devenv} hook zsh)"
|
||||||
|
eval "$(${lib.getExe self'.packages.ohMyPosh} init zsh)"
|
||||||
|
|
||||||
|
${lib.getExe pkgs.any-nix-shell} zsh --info-right | source /dev/stdin
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
ohMyPosh = inputs.wrappers.wrappers.oh-my-posh.wrap {
|
ohMyPosh = inputs.wrappers.wrappers.oh-my-posh.wrap {
|
||||||
|
|||||||
Reference in New Issue
Block a user