mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
refactor: inherit name from mkPackages
This commit is contained in:
parent
d397be861b
commit
d538762c7e
23 changed files with 81 additions and 147 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{ writeShellApplication, fzf, ... }:
|
||||
{ name, writeShellApplication, fzf, ... }:
|
||||
|
||||
writeShellApplication {
|
||||
name = "cdb";
|
||||
inherit name;
|
||||
runtimeInputs = [ fzf ];
|
||||
text = ''
|
||||
git checkout "$(git branch --list | grep -v "^\*" | fzf | awk '{print $1}')"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue