Skip to content

Commit 0c3b017

Browse files
committed
chore: add clear
1 parent bd38f6e commit 0c3b017

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

flake.nix

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
which
5757
];
5858
shellHook = ''
59+
clear
5960
macchina
6061
6162
echo "Setting up environment variables..."
@@ -70,25 +71,25 @@
7071
alias vim=nvim
7172
7273
if git rev-parse --is-inside-work-tree > /dev/null 2>&1; then
73-
echo "Setting up Git..."
74-
git config alias.co checkout
75-
git config alias.br branch
76-
git config alias.ci commit
77-
git config alias.st status
78-
git config alias.amend "commit --amend -m"
79-
git config alias.unstage "restore --staged"
80-
git config help.autocorrect 50
74+
echo "Setting up Git..."
75+
git config alias.co checkout
76+
git config alias.br branch
77+
git config alias.ci commit
78+
git config alias.st status
79+
git config alias.amend "commit --amend -m"
80+
git config alias.unstage "restore --staged"
81+
git config help.autocorrect 50
8182
else
82-
gum log -sl warn "Not inside a Git repository, skipping config setup"
83+
gum log -sl warn "Not inside a Git repository, skipping config setup"
8384
fi
8485
8586
if [ -f "package.json" ]; then
86-
corepack install
87-
pnpm install --frozen-lockfile
87+
corepack install
88+
pnpm install --frozen-lockfile
8889
89-
echo -e "\nCurrent Project: $(jq -r '.name' package.json)"
90+
echo -e "\nCurrent Project: $(jq -r '.name' package.json)"
9091
else
91-
gum log -sl warn "No package.json found, skipping installation step"
92+
gum log -sl warn "No package.json found, skipping installation step"
9293
fi
9394
'';
9495
};

0 commit comments

Comments
 (0)