mirror of https://tildegit.org/ben/dotfiles
fix up some bash stuffs
parent
116f77d058
commit
0355ddd3cd
|
@ -25,7 +25,6 @@ alias cr='composer require'
|
||||||
alias csu='composer self-update'
|
alias csu='composer self-update'
|
||||||
alias cu='composer update'
|
alias cu='composer update'
|
||||||
alias d='dirs -v | head -10'
|
alias d='dirs -v | head -10'
|
||||||
alias g=git
|
|
||||||
alias ga='git add'
|
alias ga='git add'
|
||||||
alias gaa='git add --all'
|
alias gaa='git add --all'
|
||||||
alias gapa='git add --patch'
|
alias gapa='git add --patch'
|
||||||
|
|
|
@ -132,10 +132,17 @@ export PS1="\[$(tput bold)\]\[$(tput setaf 2)\]\u\[$(tput setaf 6)\]@\[$(tput se
|
||||||
brc() { vim ~/.bashrc; }
|
brc() { vim ~/.bashrc; }
|
||||||
tag() { shuf -n 1 ~/taglines.txt; }
|
tag() { shuf -n 1 ~/taglines.txt; }
|
||||||
|
|
||||||
|
g() {
|
||||||
|
if (( $# == 0 )); then
|
||||||
|
git status
|
||||||
|
else
|
||||||
|
git "$@"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads 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
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
|
||||||
|
|
||||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue