non important commit

This commit is contained in:
maxstrb 2025-11-07 11:36:48 +01:00
parent 4af0328fd7
commit cc398d5017

View file

@ -63,6 +63,13 @@
sudo nixos-rebuild switch --flake .
}
def fzf-cd [] {
let dir = (fd -t d -L . | fzf --reverse --height 40%)
if $dir != null and $dir != "" {
cd $dir
}
}
$env.config.keybindings = ($env.config.keybindings | append {
name: "fzf-cd"
modifier: "control"
@ -71,10 +78,7 @@
event: [
{
send: "executehostcommand"
cmd: 'commandline edit --replace $"cd \'(fd -t d -L . | fzf)\'"'
}
{
send: "enter"
cmd: 'fzf-cd'
}
]
})