mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
alias to git rm for removed files
This commit is contained in:
parent
2304a332aa
commit
2648628442
1 changed files with 3 additions and 0 deletions
|
|
@ -108,3 +108,6 @@ function _git_log_prettily(){
|
||||||
}
|
}
|
||||||
alias glp="_git_log_prettily"
|
alias glp="_git_log_prettily"
|
||||||
compdef _git glp=git-log
|
compdef _git glp=git-log
|
||||||
|
|
||||||
|
# Remove from repo all files deleted
|
||||||
|
alias gitstrm="git st | egrep 'deleted' | sed -e 's/#//' -e 's/deleted:/git rm/' | sh"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue