diff --git a/.bashrc b/.bashrc index 92cfb57..f802082 100644 --- a/.bashrc +++ b/.bashrc @@ -117,6 +117,9 @@ HISTTIMEFORMAT="%H:%M:%S(%z)%d-%b-%y " # Do not let globbing complain on no match shopt -s nullglob +## When only a directory is entered without cd, cd into it +shoptd -s autocd + function timer_start { timer=${timer:-$SECONDS} } @@ -184,9 +187,18 @@ jazz_my_prompt() { PS1="\n${group1}-${group2}-${group3}-${group4}-${group5}\n${group6}-${group9}-${group8}\n${isroot}${reset} " } +[[ ! -f ~/.set_path ]] || source ~/.set_path + [[ ! -f ~/.aliases ]] || source ~/.aliases [[ ! -f ~/.aliases_personal ]] || source ~/.aliases_personal [[ ! -f ~/.neon_alias ]] || source ~/.neon_alias [[ ! -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 diff --git a/.config/Code/User/settings.json b/.config/Code/User/settings.json index 8ea4161..4850a57 100644 --- a/.config/Code/User/settings.json +++ b/.config/Code/User/settings.json @@ -181,6 +181,6 @@ "*": "Visual Studio Dark", "markdown": "Community Material Theme Darker High Contrast" }, - "workbench.colorTheme": "Community Material Theme Darker High Contrast" + "workbench.colorTheme": "Visual Studio Dark" // } diff --git a/.gitconfig b/.gitconfig index a63f6a1..857739d 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,3 +1,5 @@ [user] email = mail@pratik.live name = Pratik Tripathy +[core] + autocrlf = input diff --git a/.zshrc b/.zshrc index ec15763..748352a 100644 --- a/.zshrc +++ b/.zshrc @@ -92,6 +92,8 @@ setopt HIST_IGNORE_SPACE # Don't add commands that start with whitespac ##############Bring all the alias and setup scripts################################ +[[ ! -f ~/.set_path ]] || source ~/.set_path + [[ ! -f ~/.aliases ]] || source ~/.aliases [[ ! -f ~/.aliases_personal ]] || source ~/.aliases_personal [[ ! -f ~/.neon_alias ]] || source ~/.neon_alias @@ -100,4 +102,11 @@ setopt HIST_IGNORE_SPACE # Don't add commands that start with whitespac [[ ! -f ~/.flutterpathsetup ]] || source ~/.flutterpathsetup # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. -[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh \ No newline at end of file +[[ ! -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