mirror of
https://tildegit.org/ben/dotfiles.git
synced 2025-03-28 00:50:39 +00:00
fix up some bash stuffs
This commit is contained in:
parent
116f77d058
commit
0355ddd3cd
@ -25,7 +25,6 @@ alias cr='composer require'
|
||||
alias csu='composer self-update'
|
||||
alias cu='composer update'
|
||||
alias d='dirs -v | head -10'
|
||||
alias g=git
|
||||
alias ga='git add'
|
||||
alias gaa='git add --all'
|
||||
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; }
|
||||
tag() { shuf -n 1 ~/taglines.txt; }
|
||||
|
||||
g() {
|
||||
if (( $# == 0 )); then
|
||||
git status
|
||||
else
|
||||
git "$@"
|
||||
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
|
||||
|
||||
|
||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user