mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: move self-defined packages to own files
This commit is contained in:
parent
2390199b8a
commit
db231d4b83
8 changed files with 191 additions and 106 deletions
9
pkgs/cdw/default.nix
Normal file
9
pkgs/cdw/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ writeShellApplication, fzf }:
|
||||
|
||||
writeShellApplication {
|
||||
name = "cdw";
|
||||
runtimeInputs = [ fzf ];
|
||||
text = ''
|
||||
cd "$(git worktree list | fzf | awk '{print $1}')"
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue