non important commit

This commit is contained in:
maxstrb 2025-11-07 11:30:50 +01:00
parent c7d5a5c5cd
commit 4af0328fd7

View file

@ -49,16 +49,6 @@
fastfetch
}
def --env f [] {
let dir = (
fd --type d --follow --exclude .git
| fzf --height 40% --reverse --border
)
if ($dir != "") {
cd $dir
}
}
def rebuild [message?: string] {
cd /home/maxag/.nix-config
let commit_message = if $message != null {$message} else {"non important commit"}
@ -74,14 +64,19 @@
}
$env.config.keybindings = ($env.config.keybindings | append {
name: "fzf-search"
name: "fzf-cd"
modifier: "control"
keycode: "char_f"
mode: "emacs"
event: {
event: [
{
send: "executehostcommand"
cmd: 'commandline edit --insert (fd -t d -L . | fzf)'
cmd: 'commandline edit --replace $"cd \'(fd -t d -L . | fzf)\'"'
}
{
send: "enter"
}
]
})
'';