bash: add fig

This commit is contained in:
2022-11-24 12:00:15 +00:00
parent fe1e810336
commit f7f5f70c2a

12
bashrc
View File

@@ -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"