mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
bashrc & zshrc: add alias "git-committers" to see committers of repository.
This commit is contained in:
parent
0940f2bd70
commit
b8549e770a
3
bashrc
3
bashrc
@ -346,6 +346,9 @@ alias ipconfig=ifconfig # MSDOS
|
|||||||
alias copy=cp # MSDOS
|
alias copy=cp # MSDOS
|
||||||
alias move=mv # MSDOS
|
alias move=mv # MSDOS
|
||||||
|
|
||||||
|
# List git committers of repository
|
||||||
|
alias git-committers="git shortlog -s"
|
||||||
|
|
||||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
|
3
zshrc
3
zshrc
@ -295,6 +295,9 @@ alias ipconfig=ifconfig # MSDOS
|
|||||||
alias copy=cp # MSDOS
|
alias copy=cp # MSDOS
|
||||||
alias move=mv # MSDOS
|
alias move=mv # MSDOS
|
||||||
|
|
||||||
|
# List git committers of repository
|
||||||
|
alias git-committers="git shortlog -s"
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
if [ -f ~/.aliases ]; then
|
if [ -f ~/.aliases ]; then
|
||||||
source ~/.aliases
|
source ~/.aliases
|
||||||
|
Loading…
Reference in New Issue
Block a user