From e0c13551fe8600fb008350bd38ccb2c2e9f03bcc Mon Sep 17 00:00:00 2001 From: Firas Abuzaid Date: Sat, 22 Jan 2022 14:36:52 -0800 Subject: [PATCH] .{bashrc,zshrc}.local --- .bashrc | 3 +++ .gitignore | 2 ++ .zshrc | 7 ++++--- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index 1bfdd8b..fa47073 100644 --- a/.bashrc +++ b/.bashrc @@ -22,3 +22,6 @@ export PKG_CONFIG_PATH=$HOME/packages/lib/pkgconfig:$PKG_CONFIG_PATH export LD_LIBRARY_PATH=$HOME/packages/lib:$LD_LIBRARY_PATH export CCACHE_DIR=$HOME/.ccache +if [ -f $HOME/dotfiles/.bashrc.local ]; then + source $HOME/dotfiles/.bashrc.local +fi diff --git a/.gitignore b/.gitignore index 1377554..480777d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ *.swp +.bashrc.local +.zshrc.local diff --git a/.zshrc b/.zshrc index 55bb1c7..a1c4b1e 100644 --- a/.zshrc +++ b/.zshrc @@ -1,4 +1,3 @@ - #### FIG ENV VARIABLES #### # Please make sure this block is at the start of this file. [ -s ~/.fig/shell/pre.sh ] && source ~/.fig/shell/pre.sh @@ -63,8 +62,6 @@ ZSH_THEME="powerlevel10k/powerlevel10k" plugins=(git) source $ZSH/oh-my-zsh.sh -source $HOME/google-cloud-sdk/completion.zsh.inc -source $HOME/google-cloud-sdk/path.zsh.inc # User configuration @@ -116,3 +113,7 @@ POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true # Please make sure this block is at the end of this file. [ -s ~/.fig/fig.sh ] && source ~/.fig/fig.sh #### END FIG ENV VARIABLES #### + +if [ -f $HOME/dotfiles/.zshrc.local ]; then + source $HOME/dotfiles/.zshrc.local +fi