Repository navigation
2 Config Files
Tarpstone edited this page Apr 30, 2024
·
6 revisions
If you have a setup you like already, you can create your own Brewfile like this one using brew bundle dump. To install from it, brew bundle install --file=./path/to/my/Brewfile.
You can even add vscode extensions!
More great tips here.
tap "cantino/mcfly"
tap "homebrew/bundle"
tap "homebrew/cask-fonts"
brew "bat"
brew "duf"
brew "git"
brew "gping"
brew "jless"
brew "lolcat"
brew "lsd"
brew "mcfly"
brew "micro"
brew "neofetch"
brew "procs"
brew "ripgrep"
brew "starship"
brew "telnet"
brew "wget"
brew "zsh-syntax-highlighting"
cask "dbeaver-community"
cask "font-blex-mono-nerd-font"
cask "font-hack-nerd-font"
cask "font-ibm-plex-mono"
cask "font-meslo-lg-nerd-font"
cask "font-monaspace"
cask "font-noto-sans"
cask "font-space-mono-nerd-font"
cask "stats"
# general vscode tools
vscode "aaron-bond.better-comments"
vscode "mikestead.dotenv"
vscode "bierner.github-markdown-preview"
vscode "oderwat.indent-rainbow"
vscode "VisualStudioExptTeam.intellicode-api-usage-examples"
vscode "ms-vsliveshare.vsliveshare"
vscode "yzhang.markdown-all-in-one"
vscode "mechatroner.rainbow-csv"
vscode "richie5um2.vscode-sort-json"
vscode "redhat.vscode-xml"
vscode "DotJoshJohnson.xml"
# icons and themes
vscode "vscode-icons-team.vscode-icons"
vscode "PKief.material-icon-theme"
vscode "dracula-theme.theme-dracula"
vscode "tinaciousdesign.theme-tinaciousdesign"
vscode "fabiospampinato.vscode-monokai-night"
vscode "johnpapa.winteriscoming"
# python
vscode "charliermarsh.ruff"######################
### terminal tools ###
######################
# https://github.com/zyedidia/micro
export EDITOR=micro
# https://starship.rs/
eval "$(starship init zsh)"
# https://github.com/cantino/mcfly
eval "$(mcfly init zsh)"
# https://github.com/lsd-rs/lsd
alias ls=lsd
# https://github.com/sharkdp/bat
# no pagination, line numbers removed
alias cat='bat --paging=never'
# https://github.com/muesli/duf
alias df=duf
# https://github.com/BurntSushi/ripgrep
alias grep=rg
# https://github.com/dalance/procs
alias ps=procs
# https://github.com/zsh-users/zsh-syntax-highlighting
# @@@@@ NOTE: might need to be at end of this file
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
######################
### language tools ###
######################
# nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
# rtx
eval "$(~/.local/share/rtx/bin/rtx activate -s zsh)"
# bun completions
[ -s "~/.bun/_bun" ] && source "~/.bun/_bun"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"# my go-to
[font]
size = 16
[font.bold]
family = "BlexMono Nerd Font Mono"
style = "Bold"
[font.bold_italic]
family = "BlexMono Nerd Font Mono"
style = "Bold Italic"
[font.italic]
family = "BlexMono Nerd Font Mono"
style = "Italic"
[font.normal]
family = "BlexMono Nerd Font Mono"
style = "Regular"{
"[go]": {
"editor.codeActionsOnSave": {
"source.organizeImports": false
},
"editor.formatOnSave": false
},
"[python]": {
"editor.defaultFormatter": "ms-python.python",
"editor.formatOnType": true
},
"debug.allowBreakpointsEverywhere": true,
"debug.javascript.autoAttachFilter": "disabled",
"diffEditor.ignoreTrimWhitespace": false,
"editor.acceptSuggestionOnEnter": "off",
"editor.accessibilitySupport": "off",
"editor.bracketPairColorization.enabled": true,
"editor.fontFamily": "BlexMono Nerd Font Mono, Geist Mono, SpaceMono Nerd Font Mono, Hack Nerd Font Mono, MesloLGS Nerd Font Mono, Menlo, Monaco, Consolas, Courier New, monospace",
"editor.inlineSuggest.enabled": true,
"editor.linkedEditing": true,
"editor.suggestSelection": "first",
/* https://github.com/Microsoft/vscode/issues/32579 */
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
"comment.block",
"comment.block.documentation",
"comment.line",
"constant",
"constant.character",
"constant.character.escape",
"constant.numeric",
"constant.numeric.integer",
"constant.numeric.float",
"constant.numeric.hex",
"constant.numeric.octal",
"constant.other",
"constant.regexp",
"constant.rgb-value",
"emphasis",
"entity",
"entity.name",
"entity.name.class",
"entity.name.function",
"entity.name.method",
"entity.name.section",
"entity.name.selector",
"entity.name.tag",
"entity.name.type",
"entity.other",
"entity.other.attribute-name",
"entity.other.inherited-class",
"invalid",
"invalid.deprecated",
"invalid.illegal",
"keyword",
"keyword.control",
"keyword.operator",
"keyword.operator.new",
"keyword.operator.assignment",
"keyword.operator.arithmetic",
"keyword.operator.logical",
"keyword.other",
"markup",
"markup.bold",
"markup.changed",
"markup.deleted",
"markup.heading",
"markup.inline.raw",
"markup.inserted",
"markup.italic",
"markup.list",
"markup.list.numbered",
"markup.list.unnumbered",
"markup.other",
"markup.quote",
"markup.raw",
"markup.underline",
"markup.underline.link",
"meta",
"meta.block",
"meta.cast",
"meta.class",
"meta.function",
"meta.function-call",
"meta.preprocessor",
"meta.return-type",
"meta.selector",
"meta.tag",
"meta.type.annotation",
"meta.type",
"punctuation.definition.string.begin",
"punctuation.definition.string.end",
"punctuation.separator",
"punctuation.separator.continuation",
"punctuation.terminator",
"storage",
"storage.modifier",
"storage.type",
"string",
"string.interpolated",
"string.other",
"string.quoted",
"string.quoted.double",
"string.quoted.other",
"string.quoted.single",
"string.quoted.triple",
"string.regexp",
"string.unquoted",
"strong",
"support",
"support.class",
"support.constant",
"support.function",
"support.other",
"support.type",
"support.type.property-name",
"support.variable",
"variable",
"variable.language",
"variable.name",
"variable.other",
"variable.other.readwrite",
"variable.parameter"
],
"settings": {
"fontStyle": ""
}
}
]
},
"files.exclude": {
"**/.classpath": true,
"**/.factorypath": true,
"**/.project": true,
"**/.settings": true
},
"files.trimTrailingWhitespace": true,
"git.autofetch": true,
"git.confirmSync": false,
"git.enableSmartCommit": true,
"github.copilot.enable": {
"*": false,
"cpp": false,
"go": false,
"jsonc": false,
"markdown": false,
"plaintext": false,
"rust": false,
"scss": false,
"shellscript": false,
"typescript": false,
"yaml": false
},
"gitlens.codeLens.enabled": false,
"gitlens.hovers.currentLine.over": "line",
"go.toolsManagement.autoUpdate": true,
"java.refactor.renameFromFileExplorer": "autoApply",
"java.test.report.showAfterExecution": "always",
"jupyter.askForKernelRestart": false,
"jupyter.interactiveWindow.textEditor.executeSelection": true,
"latex-workshop.view.pdf.viewer": "tab",
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
"notebook.output.scrolling": true,
"notebook.output.wordWrap": true,
"npm.keybindingsChangedWarningShown": true,
"oneDarkPro.markdownStyle": true,
"python.languageServer": "Pylance",
"python.venvPath": "/.venv",
"redhat.telemetry.enabled": true,
"scss.showErrors": true,
"security.workspace.trust.untrustedFiles": "open",
"settingsSync.ignoredExtensions": [],
"svelte.enable-ts-plugin": true,
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.defaultProfile.osx": "zsh",
"terminal.integrated.enableMultiLinePasteWarning": false,
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash"
},
"fish": {
"path": "fish"
},
"pwsh": {
"icon": "terminal-powershell",
"path": "pwsh"
},
"tmux": {
"icon": "terminal-tmux",
"path": "tmux"
},
"zsh": {
"path": "zsh"
}
},
"terminal.integrated.shellIntegration.enabled": false,
"vsicons.dontShowNewVersionMessage": true,
"window.zoomLevel": 1.5,
"workbench.colorCustomizations": {
"list.hoverBackground": "#4e102f"
},
"workbench.colorTheme": "Winter is Coming (Dark Blue - No Italics)",
"workbench.editor.enablePreview": false,
// "indentRainbow.colors": [
// "rgba(239, 71, 111,0.15)",
// "rgba(255, 209, 102,0.15)",
// "rgba(6, 214, 160, 0.15)",
// "rgba(17, 138, 178,0.15)",
// "rgba(7, 59, 76,0.15)"
// ]
"workbench.editor.wrapTabs": true,
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
"workbench.iconTheme": "vscode-icons",
"zig.initialSetupDone": true,
"zig.path": "",
"zig.zls.path": "~/Library/Application Support/Code/User/globalStorage/ziglang.vscode-zig/zls_install/zls"
}