HunterThueson / dots

Dotfiles for my NixOS configuration
GNU Lesser General Public License v2.1
0 stars 0 forks source link

`vi flake.` should automatically choose `flake.nix` if available #77

Open HunterThueson opened 1 year ago

HunterThueson commented 1 year ago

Whenever I try to edit flake.nix I have a habit of typing vi flake. and then hitting TAB, forgetting that flake.lock exists since I never interact with it directly. I don't think there's any reason I would need to edit it manually, so it would be great if I could configure bash to detect whether I've typed vi flake. as a command and, if so, automatically assume that I meant to type vi flake.nix instead.