Skip to content

Commit 4f4f5ef

Browse files
Update dotfiles
1 parent 242178d commit 4f4f5ef

File tree

7 files changed

+273
-1
lines changed

7 files changed

+273
-1
lines changed

.bashrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ export PATH="$PATH:$HOME/.rvm/bin"
55

66
# Generated for envman. Do not edit.
77
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
8+
if [ -f "/Users/sanyamkhurana/.config/fabric/fabric-bootstrap.inc" ]; then . "/Users/sanyamkhurana/.config/fabric/fabric-bootstrap.inc"; fi

.gitconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,11 @@
172172
[user]
173173
174174
name = Sanyam Khurana
175+
signingkey = 3448C4F62756E5480FA0F378D07B36A0F0870851
175176
176177
[commit]
177178
template = ~/.gitmessage
179+
# gpgsign = true
178180
179181
[includeIf "gitdir:~/work/"]
180182
path = ~/work/.gitconfig
@@ -185,3 +187,5 @@
185187
smudge = git-lfs smudge -- %f
186188
process = git-lfs filter-process
187189
required = true
190+
[init]
191+
defaultBranch = main

.gitignore

Lines changed: 219 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,222 @@ venv/
2929
*.glue
3030
.vim/.netrwhist
3131
.vscode
32+
33+
# Byte-compiled / optimized / DLL files
34+
__pycache__/
35+
*.py[codz]
36+
*$py.class
37+
38+
# C extensions
39+
*.so
40+
41+
# Distribution / packaging
42+
.Python
43+
build/
44+
develop-eggs/
45+
dist/
46+
downloads/
47+
eggs/
48+
.eggs/
49+
lib/
50+
lib64/
51+
parts/
52+
sdist/
53+
var/
54+
wheels/
55+
share/python-wheels/
56+
*.egg-info/
57+
.installed.cfg
58+
*.egg
59+
MANIFEST
60+
61+
# PyInstaller
62+
# Usually these files are written by a python script from a template
63+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
64+
*.manifest
65+
*.spec
66+
67+
# Installer logs
68+
pip-log.txt
69+
pip-delete-this-directory.txt
70+
71+
# Unit test / coverage reports
72+
htmlcov/
73+
.tox/
74+
.nox/
75+
.coverage
76+
.coverage.*
77+
.cache
78+
nosetests.xml
79+
coverage.xml
80+
*.cover
81+
*.py.cover
82+
.hypothesis/
83+
.pytest_cache/
84+
cover/
85+
86+
# Translations
87+
*.mo
88+
*.pot
89+
90+
# Django stuff:
91+
*.log
92+
local_settings.py
93+
db.sqlite3
94+
db.sqlite3-journal
95+
96+
# Flask stuff:
97+
instance/
98+
.webassets-cache
99+
100+
# Scrapy stuff:
101+
.scrapy
102+
103+
# Sphinx documentation
104+
docs/_build/
105+
106+
# PyBuilder
107+
.pybuilder/
108+
target/
109+
110+
# Jupyter Notebook
111+
.ipynb_checkpoints
112+
113+
# IPython
114+
profile_default/
115+
ipython_config.py
116+
117+
# pyenv
118+
# For a library or package, you might want to ignore these files since the code is
119+
# intended to run in multiple environments; otherwise, check them in:
120+
# .python-version
121+
122+
# pipenv
123+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
124+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
125+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
126+
# install all needed dependencies.
127+
# Pipfile.lock
128+
129+
# UV
130+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
131+
# This is especially recommended for binary packages to ensure reproducibility, and is more
132+
# commonly ignored for libraries.
133+
# uv.lock
134+
135+
# poetry
136+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
137+
# This is especially recommended for binary packages to ensure reproducibility, and is more
138+
# commonly ignored for libraries.
139+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
140+
# poetry.lock
141+
# poetry.toml
142+
143+
# pdm
144+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
145+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
146+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
147+
# pdm.lock
148+
# pdm.toml
149+
.pdm-python
150+
.pdm-build/
151+
152+
# pixi
153+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
154+
# pixi.lock
155+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
156+
# in the .venv directory. It is recommended not to include this directory in version control.
157+
.pixi
158+
159+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
160+
__pypackages__/
161+
162+
# Celery stuff
163+
celerybeat-schedule
164+
celerybeat.pid
165+
166+
# Redis
167+
*.rdb
168+
*.aof
169+
*.pid
170+
171+
# RabbitMQ
172+
mnesia/
173+
rabbitmq/
174+
rabbitmq-data/
175+
176+
# ActiveMQ
177+
activemq-data/
178+
179+
# SageMath parsed files
180+
*.sage.py
181+
182+
# Environments
183+
.env
184+
.envrc
185+
.venv
186+
env/
187+
venv/
188+
ENV/
189+
env.bak/
190+
venv.bak/
191+
192+
# Spyder project settings
193+
.spyderproject
194+
.spyproject
195+
196+
# Rope project settings
197+
.ropeproject
198+
199+
# mkdocs documentation
200+
/site
201+
202+
# mypy
203+
.mypy_cache/
204+
.dmypy.json
205+
dmypy.json
206+
207+
# Pyre type checker
208+
.pyre/
209+
210+
# pytype static type analyzer
211+
.pytype/
212+
213+
# Cython debug symbols
214+
cython_debug/
215+
216+
# PyCharm
217+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
218+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
219+
# and can be added to the global gitignore or merged into this file. For a more nuclear
220+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
221+
# .idea/
222+
223+
# Abstra
224+
# Abstra is an AI-powered process automation framework.
225+
# Ignore directories containing user credentials, local state, and settings.
226+
# Learn more at https://abstra.io/docs
227+
.abstra/
228+
229+
# Visual Studio Code
230+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
231+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
232+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
233+
# you could uncomment the following to ignore the entire vscode folder
234+
# .vscode/
235+
236+
# Ruff stuff:
237+
.ruff_cache/
238+
239+
# PyPI configuration file
240+
.pypirc
241+
242+
# Marimo
243+
marimo/_static/
244+
marimo/_lsp/
245+
__marimo__/
246+
247+
# Streamlit
248+
.streamlit/secrets.toml
249+
250+
.claude/

.vimrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,5 @@ let vala_space_errors = 1
5252

5353
autocmd BufRead *.py set makeprg=python\ -c\ \"import\ py_compile,sys;\ sys.stderr=sys.stdout;\ py_compile.compile(r'%')\"
5454
autocmd BufRead *.py set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m
55+
colorscheme koehler
56+
packadd! sonokai

.zshrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ source ~/powerlevel10k/powerlevel10k.zsh-theme
4545
autoload -U +X bashcompinit && bashcompinit
4646
complete -o nospace -C /usr/local/bin/terraform terraform
4747

48+
# Sign commits via GPG
49+
export GPG_TTY=$(tty)
50+
4851
export NVM_DIR="$HOME/.nvm"
4952
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
5053
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
@@ -76,3 +79,4 @@ export PATH="/opt/homebrew/opt/postgresql@16/bin:$PATH"
7679
eval "$(/Users/sanyamkhurana/.local/bin/mise activate zsh)"
7780
eval "$(mise activate)"
7881
eval "$(~/.local/bin/mise activate zsh)"
82+
if [ -f "/Users/sanyamkhurana/.config/fabric/fabric-bootstrap.inc" ]; then . "/Users/sanyamkhurana/.config/fabric/fabric-bootstrap.inc"; fi

setup/vscode/install-extensions.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
code --install-extension 4ops.terraform --force &
12
code --install-extension bar.python-import-helper --force &
23
code --install-extension bradlc.vscode-tailwindcss --force &
34
code --install-extension budparr.language-hugo-vscode --force &
45
code --install-extension charliermarsh.ruff --force &
56
code --install-extension christian-kohler.npm-intellisense --force &
67
code --install-extension continue.continue --force &
8+
code --install-extension dart-code.dart-code --force &
9+
code --install-extension dart-code.flutter --force &
710
code --install-extension dsznajder.es7-react-js-snippets --force &
811
code --install-extension dzannotti.vscode-babel-coloring --force &
912
code --install-extension eamodio.gitlens --force &
@@ -48,11 +51,13 @@ code --install-extension pranaygp.vscode-css-peek --force &
4851
code --install-extension redhat.vscode-yaml --force &
4952
code --install-extension rickynormandeau.mariana-pro --force &
5053
code --install-extension ritwickdey.liveserver --force &
54+
code --install-extension samuelcolvin.jinjahtml --force &
5155
code --install-extension tamasfe.even-better-toml --force &
5256
code --install-extension tatsuyanakamori.resttext --force &
5357
code --install-extension tht13.rst-vscode --force &
5458
code --install-extension tomoki1207.pdf --force &
5559
code --install-extension trond-snekvik.simple-rst --force &
60+
code --install-extension warpnet.salt-lint --force &
5661
code --install-extension wholroyd.jinja --force &
5762
code --install-extension wix.vscode-import-cost --force &
5863
code --install-extension yzhang.markdown-all-in-one --force

setup/vscode/settings.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,42 @@
9090
"notebook.includeCellOutputs": true,
9191
"continue.enableTabAutocomplete": true,
9292
"continue.telemetryEnabled": false,
93-
"dart.flutterSdkPath": "/Users/$(whoami)/Downloads/flutter"
93+
"dart.flutterSdkPath": "/Users/$(whoami)/Downloads/flutter",
94+
"workbench.sideBar.location": "right",
95+
"[json]": {
96+
"editor.defaultFormatter": "vscode.json-language-features"
97+
},
98+
"salt-lint.enable": true,
99+
"salt-lint.run": "onType",
100+
"salt-lint.executablePath": "salt-lint",
101+
"update.showReleaseNotes": false,
102+
"continue.showInlineTip": false,
103+
"[sql]": {
104+
"editor.defaultFormatter": "adpyke.vscode-sql-formatter"
105+
},
106+
"github.copilot.nextEditSuggestions.enabled": true,
107+
"yaml.schemas": {
108+
"file:///Users/sanyamkhurana/.vscode/extensions/continue.continue-1.3.16-darwin-arm64/config-yaml-schema.json": [
109+
".continue/**/*.yaml"
110+
]
111+
},
112+
"docker.extension.enableComposeLanguageServer": false,
113+
"workbench.editor.empty.hint": "hidden",
114+
"python.defaultInterpreterPath": "/opt/homebrew/bin/python3",
115+
"[dockercompose]": {
116+
"editor.insertSpaces": true,
117+
"editor.tabSize": 2,
118+
"editor.autoIndent": "advanced",
119+
"editor.quickSuggestions": {
120+
"other": true,
121+
"comments": false,
122+
"strings": true
123+
},
124+
"editor.defaultFormatter": "redhat.vscode-yaml"
125+
},
126+
"[github-actions-workflow]": {
127+
"editor.defaultFormatter": "redhat.vscode-yaml"
128+
},
129+
"gitlens.ai.model": "vscode",
130+
"gitlens.ai.vscode.model": "copilot:gpt-4.1",
94131
}

0 commit comments

Comments
 (0)