From 988947be5eba4ad14f04fab8a45f6feb20e49b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Fri, 30 Jun 2023 20:49:14 +0200 Subject: [PATCH] feat(base): add fzf file open alias --- modules/profiles/base.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/profiles/base.nix b/modules/profiles/base.nix index 86a70be..518ae72 100644 --- a/modules/profiles/base.nix +++ b/modules/profiles/base.nix @@ -45,6 +45,8 @@ in mv = "mv -i"; cd = "z"; + f = "fzf --multi --bind \"enter:become($EDITOR {+})\""; + nixos-switch = nom-system-command "sudo nixos-rebuild switch --flake ~/.dotfiles"; nixos-boot = nom-system-command "sudo nixos-rebuild boot --flake ~/.dotfiles"; nixos-update = "pushd ~/.dotfiles && nix flake update && popd";