diff --git a/.bashrc b/.bashrc index 0e11ef0..bb2b305 100644 --- a/.bashrc +++ b/.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 \ No newline at end of file diff --git a/.config/Code/User/settings.json b/.config/Code/User/settings.json index 50223f9..0b43f2e 100644 --- a/.config/Code/User/settings.json +++ b/.config/Code/User/settings.json @@ -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 + // } diff --git a/.gitconfig b/.gitconfig index 857739d..f6a6349 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,5 +1,6 @@ [user] - email = mail@pratik.live + email = pratik@keepworks.com name = Pratik Tripathy [core] autocrlf = input + editor = subl --wait diff --git a/.zshrc b/.zshrc index 58a1a07..0f55be2 100644 --- a/.zshrc +++ b/.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 \ No newline at end of file