non important commit
This commit is contained in:
parent
17e46331b0
commit
571702cf8e
2 changed files with 4 additions and 2 deletions
|
|
@ -35,8 +35,6 @@
|
||||||
mkdir $name
|
mkdir $name
|
||||||
cd $name
|
cd $name
|
||||||
|
|
||||||
pwd
|
|
||||||
|
|
||||||
if ($"~/.nix-config/home/modules/create-project/project-blueprints/($type)" | path expand | ls $in | length) > 0 {
|
if ($"~/.nix-config/home/modules/create-project/project-blueprints/($type)" | path expand | ls $in | length) > 0 {
|
||||||
glob $"~/.nix-config/home/modules/create-project/project-blueprints/($type)/*" | each { |file| cp $file . }
|
glob $"~/.nix-config/home/modules/create-project/project-blueprints/($type)/*" | each { |file| cp $file . }
|
||||||
}
|
}
|
||||||
|
|
@ -46,6 +44,9 @@
|
||||||
rm "init.sh"
|
rm "init.sh"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo "use flake" | save .envrc
|
||||||
|
direnv allow
|
||||||
|
|
||||||
git init
|
git init
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Project setup"
|
git commit -m "Project setup"
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
direnv = {
|
direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
silent = true;
|
||||||
nix-direnv .enable = true;
|
nix-direnv .enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue