Created
May 25, 2022 17:27
-
-
Save varunyn/6f3b4b965027fe6a96e36bd431a27b0e to your computer and use it in GitHub Desktop.
Mac OS tools
This file contains 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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
export PYENV_ROOT="$HOME/.pyenv" | |
export PATH="$PYENV_ROOT/bin:$PATH" | |
if command -v pyenv 1>/dev/null 2>&1; then | |
eval "$(pyenv init -)" | |
fi | |
export ZSH=/Users/varuyada/.oh-my-zsh | |
ZSH_THEME="powerlevel10k/powerlevel10k" | |
plugins=(git wd docker zsh-syntax-highlighting) | |
source ~/powerlevel10k/powerlevel10k.zsh-theme | |
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. | |
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh | |
alias node18='export PATH="/opt/homebrew/Cellar/node/18.0.0/bin:$PATH"' | |
alias node16='export PATH="/opt/homebrew/Cellar/node@16/16.15.0/bin:$PATH"' |
This file contains 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
{ | |
"[html]": { | |
"editor.defaultFormatter": "HookyQR.beautify" | |
}, | |
"[javascript]": { | |
"editor.defaultFormatter": "HookyQR.beautify" | |
}, | |
"editor.suggestSelection": "first", | |
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
"sync.gist": "", | |
"workbench.colorTheme": "Monokai", | |
"[javascriptreact]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"workbench.editor.enablePreviewFromQuickOpen": false, | |
"workbench.editor.enablePreview": false, | |
"files.associations": { | |
"*.js": "javascriptreact" | |
}, | |
"editor.formatOnSave": true, | |
"workbench.iconTheme": "material-icon-theme", | |
"[css]": { | |
"editor.defaultFormatter": "HookyQR.beautify" | |
}, | |
"workbench.editorAssociations": { | |
"*.ipynb": "jupyter.notebook.ipynb" | |
}, | |
"terminal.integrated.fontFamily": "MesloLGS NF", | |
// @vtwang added (deprecated) | |
// "terminal.integrated.shell.osx": "/bin/zsh", | |
"terminal.integrated.defaultProfile.osx": "zsh", | |
"remote.SSH.connectTimeout": 30, | |
"window.zoomLevel": -1, | |
"[handlebars]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment