Create .project file in project-init
This commit is contained in:
parent
ba20fdd8ee
commit
008290931e
|
@ -38,9 +38,11 @@ elif [ "$type" = "remote-git" ]; then
|
||||||
elif [ "$type" = "doc" ]; then
|
elif [ "$type" = "doc" ]; then
|
||||||
mkdir docs docs/assets
|
mkdir docs docs/assets
|
||||||
touch docs/Summary.org
|
touch docs/Summary.org
|
||||||
|
touch .project
|
||||||
elif [ "$type" = "src" ]; then
|
elif [ "$type" = "src" ]; then
|
||||||
cp ~/Documents/IT/shell.nix .
|
cp ~/Documents/IT/shell.nix .
|
||||||
mkdir src data
|
mkdir src data
|
||||||
|
touch .project
|
||||||
echo "use nix" >.envrc
|
echo "use nix" >.envrc
|
||||||
direnv allow
|
direnv allow
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue