mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
Updated bashrc & zshrc to set paths from .set_path file. Removed telemetry from dotnet framework. nvm configurations. Made shoptd -s autocd, learnt from https://www.reddit.com/r/linuxquestions/comments/jooav1/reasons_against_adding_shopt_autocd_to_bashrc/\?utm_source\=share\&utm_medium\=web2x\&context\=3
This commit is contained in:
11
.zshrc
11
.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
|
||||
[[ ! -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
|
||||
|
||||
Reference in New Issue
Block a user