bash: tidying up
This commit is contained in:
11
bashrc
11
bashrc
@@ -145,13 +145,6 @@ fi
|
|||||||
# echo "Note - Dropbox isn't running!"
|
# echo "Note - Dropbox isn't running!"
|
||||||
# fi
|
# fi
|
||||||
|
|
||||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
|
||||||
|
|
||||||
# Not version controlled, it's system specific.
|
|
||||||
if [ -r $HOME/.cargo/env ] ; then
|
|
||||||
source $HOME/.cargo/env
|
|
||||||
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
|
||||||
@@ -162,7 +155,3 @@ fi
|
|||||||
if [ -f ${HOME}/.bashrc.d/local/${HOSTNAME}.bash ] ; then
|
if [ -f ${HOME}/.bashrc.d/local/${HOSTNAME}.bash ] ; then
|
||||||
source ${HOME}/.bashrc.d/local/${HOSTNAME}.bash
|
source ${HOME}/.bashrc.d/local/${HOSTNAME}.bash
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# tabtab source for packages
|
|
||||||
# uninstall by removing these lines
|
|
||||||
[ -f ~/.config/tabtab/__tabtab.bash ] && . ~/.config/tabtab/__tabtab.bash || true
|
|
||||||
|
|||||||
4
bashrc.d/cargo.bash
Normal file
4
bashrc.d/cargo.bash
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# tabtab source for packages
|
||||||
|
# uninstall by removing these lines
|
||||||
|
[ -f ~/.config/tabtab/__tabtab.bash ] && . ~/.config/tabtab/__tabtab.bash || true
|
||||||
|
[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env" || true
|
||||||
5
bashrc.d/local/MacBook-Air.blacksun.org.uk.bash
Normal file
5
bashrc.d/local/MacBook-Air.blacksun.org.uk.bash
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Set up NNTP variables
|
||||||
|
`netrc news.xcski.com NNTP`
|
||||||
|
|
||||||
|
export PGDATA="/Users/$USER/Library/Application Support/Postgres/var-10"
|
||||||
|
alias clearpgpid="rm $PGDATA/postmaster.pid"
|
||||||
Reference in New Issue
Block a user