|
56 | 56 | which |
57 | 57 | ]; |
58 | 58 | shellHook = '' |
| 59 | + clear |
59 | 60 | macchina |
60 | 61 |
|
61 | 62 | echo "Setting up environment variables..." |
|
70 | 71 | alias vim=nvim |
71 | 72 |
|
72 | 73 | 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 |
81 | 82 | 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" |
83 | 84 | fi |
84 | 85 |
|
85 | 86 | if [ -f "package.json" ]; then |
86 | | - corepack install |
87 | | - pnpm install --frozen-lockfile |
| 87 | + corepack install |
| 88 | + pnpm install --frozen-lockfile |
88 | 89 |
|
89 | | - echo -e "\nCurrent Project: $(jq -r '.name' package.json)" |
| 90 | + echo -e "\nCurrent Project: $(jq -r '.name' package.json)" |
90 | 91 | 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" |
92 | 93 | fi |
93 | 94 | ''; |
94 | 95 | }; |
|
0 commit comments