mirror of
https://github.com/wlcx/home.git
synced 2025-12-10 12:33:45 +00:00
fzf: get files from fd to respect gitignore when ctrl-ting
This commit is contained in:
parent
1e8b5ebb0d
commit
b3fedf3584
@ -55,9 +55,6 @@ in {
|
|||||||
# Don't honk at me constantly
|
# Don't honk at me constantly
|
||||||
unsetopt beep
|
unsetopt beep
|
||||||
'';
|
'';
|
||||||
envExtra = ''
|
|
||||||
export FZF_DEFAULT_COMMAND='${pkgs.fd}/bin/fd --type f --strip-cwd-prefix'
|
|
||||||
'';
|
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
@ -95,7 +92,8 @@ in {
|
|||||||
|
|
||||||
fzf = {
|
fzf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultCommand = "${pkgs.ripgrep}/bin/rg --files";
|
defaultCommand = "${pkgs.fd}/bin/fd --type f";
|
||||||
|
fileWidgetCommand = "${pkgs.fd}/bin/fd --type f";
|
||||||
};
|
};
|
||||||
|
|
||||||
ssh = {
|
ssh = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user