Last active
May 12, 2025 13:47
-
-
Save mikelove/d96fb988db039250fb8d to your computer and use it in GitHub Desktop.
.bashrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ls='ls -G' | |
alias ll='ls -lh' | |
alias rm='rm -i' | |
alias mv='mv -i' | |
alias cp='cp -i' | |
alias rhelp="Rscript -e 'args <- commandArgs(TRUE); help(args[2], package=args[3], help_type=\"html\"); Sys.sleep(5)' --args" | |
alias github='function _github(){ git clone [email protected]:$1/$2.git; };_github' | |
alias gfmp='git fetch --all; git merge; git push' | |
### in .gitconfig ### | |
[alias] | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment