From f7f5f70c2a91a86aa59dccde1da8e935e3eabb73 Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Thu, 24 Nov 2022 12:00:15 +0000 Subject: [PATCH] bash: add fig --- bashrc | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/bashrc b/bashrc index 55a361c..4120010 100644 --- a/bashrc +++ b/bashrc @@ -1,5 +1,5 @@ # Fig pre block. Keep at the top of this file. -[[ -f "$HOME/.fig/shell/bashrc.pre.bash" ]] && . "$HOME/.fig/shell/bashrc.pre.bash" +[[ -f "$HOME/.fig/shell/bashrc.pre.bash" ]] && builtin source "$HOME/.fig/shell/bashrc.pre.bash" # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples @@ -139,14 +139,6 @@ if [ "$HOME2" != "" ] ; then xauth merge $HOME2/.Xauthority fi -# TODO Do with dropbox now... -# Done the longer format so we catch dropbox instance, rather than stuff like -# "links http://www.dropbox.com/" -# DROPBOX_PID=$(ps -u paul | grep dropbox$ | awk '{print $1}') -# if [ "$DROPBOX_PID" == "" ] ; then - # echo "Note - Dropbox isn't running!" -# fi - # Load any supplementary scripts if [ -d "$HOME"/.bashrc.d ] ; then for config in "$HOME"/.bashrc.d/*.bash ; do @@ -166,4 +158,4 @@ export NVM_DIR="$HOME/.nvm" export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" # Fig post block. Keep at the bottom of this file. -[[ -f "$HOME/.fig/shell/bashrc.post.bash" ]] && . "$HOME/.fig/shell/bashrc.post.bash" +[[ -f "$HOME/.fig/shell/bashrc.post.bash" ]] && builtin source "$HOME/.fig/shell/bashrc.post.bash"