Fixes a bug in aliases.sh and updated some files.
This commit is contained in:
42
.bashrc
42
.bashrc
@@ -73,48 +73,6 @@ xterm*|rxvt*)
|
||||
;;
|
||||
esac
|
||||
|
||||
## Begin .rc.d stuff
|
||||
|
||||
PATH="/home/tom/Android/android-studio/bin:$PATH"
|
||||
## Source all scripts in ~/.rc.d
|
||||
for f in ~/.rc.d/*.sh; do
|
||||
source "$f"
|
||||
done
|
||||
# TODO: do the same for ~/.rc.d/*.bash to only do bash scripts or make the scripts figure out what shell they are under.
|
||||
|
||||
## Autocompletion
|
||||
|
||||
# enable programmable completion features (you don't need to enable
|
||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||
# sources /etc/bash.bashrc). This is after .rc.d stuff because that may have changed the available completions.
|
||||
if ! shopt -oq posix; then
|
||||
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
||||
. /usr/share/bash-completion/bash_completion
|
||||
elif [ -f /etc/bash_completion ]; then
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
fi
|
||||
|
||||
## Functions
|
||||
|
||||
## Paths
|
||||
|
||||
# Append personal bin to path
|
||||
# if [ -d "$HOME/bin" ] ; then
|
||||
# PATH="$HOME/bin:$PATH"
|
||||
# fi
|
||||
|
||||
# Append local personal bin to path
|
||||
# if [ -d "$HOME/.local/bin" ] ; then
|
||||
# PATH="$HOME/.local/bin:$PATH"
|
||||
# fi
|
||||
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
|
||||
# Load Angular CLI autocompletion.
|
||||
source <(ng completion script)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user