mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
VSCode setting changes
This commit is contained in:
8
.bashrc
8
.bashrc
@@ -196,9 +196,6 @@ jazz_my_prompt() {
|
||||
[[ ! -f ~/.gosetup ]] || source ~/.gosetup
|
||||
[[ ! -f ~/.flutterpathsetup ]] || source ~/.flutterpathsetup
|
||||
|
||||
# Optout of dotnetcore telemetry
|
||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
|
||||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
@@ -206,3 +203,8 @@ export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || pr
|
||||
# tabtab source for packages
|
||||
# uninstall by removing these lines
|
||||
[[ -f ~/.config/tabtab/__tabtab.zsh ]] && . ~/.config/tabtab/__tabtab.zsh || true
|
||||
|
||||
# Kubernetes Autocompletion
|
||||
source <(kubectl completion bash)
|
||||
|
||||
source ~/.env
|
||||
@@ -6,7 +6,7 @@
|
||||
// Privacy
|
||||
"telemetry.enableTelemetry": false,
|
||||
"telemetry.enableCrashReporter": false,
|
||||
"extensions.showRecommendationsOnlyOnDemand": true,
|
||||
"extensions.ignoreRecommendations": true,
|
||||
//
|
||||
// Editor
|
||||
// "editor.cursorSmoothCaretAnimation": true,
|
||||
@@ -161,6 +161,7 @@
|
||||
"MD030": false,
|
||||
"MD007": false,
|
||||
"MD029": false,
|
||||
"MD024": false,
|
||||
"no-hard-tabs": false,
|
||||
"line-length": false
|
||||
},
|
||||
@@ -175,13 +176,6 @@
|
||||
"terminal.integrated.shell.linux": "/bin/zsh",
|
||||
"prettier.packageManager": "yarn",
|
||||
//
|
||||
// Rust
|
||||
"rust.build_on_save": true,
|
||||
"rust.clippy_preference": "on",
|
||||
"rust.full_docs": true,
|
||||
"[rust]": {
|
||||
"editor.defaultFormatter": "rust-lang.rust"
|
||||
},
|
||||
//
|
||||
// Themes
|
||||
"workbench.iconTheme": "material-icon-theme",
|
||||
@@ -190,6 +184,23 @@
|
||||
"markdown": "Community Material Theme Darker High Contrast"
|
||||
},
|
||||
"workbench.colorTheme": "Visual Studio Dark",
|
||||
"python.languageServer": "Pylance"
|
||||
"python.languageServer": "Pylance",
|
||||
|
||||
// Rust
|
||||
// "rust.build_on_save": true,
|
||||
"rust.clippy_preference": "on",
|
||||
"rust.full_docs": true,
|
||||
"[rust]": {
|
||||
"editor.defaultFormatter": "matklad.rust-analyzer"
|
||||
},
|
||||
"rust-analyzer.assist.importMergeBehavior": "last",
|
||||
"rust-analyzer.cargo.loadOutDirsFromCheck": true,
|
||||
"rust-analyzer.procMacro.enable": true,
|
||||
"rust-analyzer.checkOnSave.command": "clippy",
|
||||
"rust-analyzer.cargo.target": null,
|
||||
"rust-analyzer.completion.postfix.enable": false,
|
||||
"rust-analyzer.inlayHints.enable": false,
|
||||
"rust-analyzer.inlayHints.typeHints": false
|
||||
|
||||
//
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[user]
|
||||
email = mail@pratik.live
|
||||
email = pratik@keepworks.com
|
||||
name = Pratik Tripathy
|
||||
[core]
|
||||
autocrlf = input
|
||||
editor = subl --wait
|
||||
|
||||
9
.zshrc
9
.zshrc
@@ -104,9 +104,6 @@ setopt HIST_IGNORE_SPACE # Don't add commands that start with whitespac
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
# Optout of dotnetcore telemetry
|
||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
|
||||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
@@ -114,3 +111,9 @@ export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || pr
|
||||
# tabtab source for packages
|
||||
# uninstall by removing these lines
|
||||
[[ -f ~/.config/tabtab/__tabtab.zsh ]] && . ~/.config/tabtab/__tabtab.zsh || true
|
||||
|
||||
|
||||
# Kubernetes Autocompletion
|
||||
source <(kubectl completion zsh)
|
||||
|
||||
source ~/.env
|
||||
Reference in New Issue
Block a user