XXX
|- .git
|- (project files)
YYY
|- .git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
printf "\33c\e[3J" # clear terminal (removes "Last login" message) | |
echo ".zshrc loaded ..." | |
# Homebrew | |
eval "$(/opt/homebrew/bin/brew shellenv)" # add Homebrew to $PATH | |
# enables tab completion for Terraform | |
# usually the command "terraform -install-autocomplete" adds the following lines, | |
# but on Apple Silicon it errored with "complete:13: command not found: compdef"; | |
# the workaround is to also add the line "autoload -U +X compinit && compinit"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"window.commandCenter": true, | |
"editor.formatOnSave": true, | |
"editor.renderWhitespace": "all", | |
"editor.detectIndentation": false, | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
"files.encoding": "utf8", | |
"files.insertFinalNewline": true, | |
"files.trimFinalNewlines": true, |
cloc command to count the lines of code in a typical Next.js project while ignoring node_modules, .next, and other generated or irrelevant files would be:
cloc . --exclude-dir=.git,.next,.vercel,.turbo,.vscode,build,dist,out,node_modules --include-ext=js,jsx,ts,tsx,css,scss,html,json,md