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 ..." | |
| # enable zsh history | |
| HISTSIZE=20000 # in-memory history | |
| SAVEHIST=20000 # saved to ~/.zsh_history | |
| HISTFILE=~/.zsh_history | |
| # zsh history options | |
| setopt SHARE_HISTORY # share history across shells | |
| setopt INC_APPEND_HISTORY # write commands immediately |
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