bash: add fig
This commit is contained in:
12
bashrc
12
bashrc
@@ -1,5 +1,5 @@
|
|||||||
# Fig pre block. Keep at the top of this file.
|
# 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.
|
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||||
# for examples
|
# for examples
|
||||||
@@ -139,14 +139,6 @@ if [ "$HOME2" != "" ] ; then
|
|||||||
xauth merge $HOME2/.Xauthority
|
xauth merge $HOME2/.Xauthority
|
||||||
fi
|
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
|
# Load any supplementary scripts
|
||||||
if [ -d "$HOME"/.bashrc.d ] ; then
|
if [ -d "$HOME"/.bashrc.d ] ; then
|
||||||
for config in "$HOME"/.bashrc.d/*.bash ; do
|
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"
|
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
||||||
|
|
||||||
# Fig post block. Keep at the bottom of this file.
|
# 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"
|
||||||
|
|||||||
Reference in New Issue
Block a user