Created
August 11, 2024 10:35
-
-
Save zorchp/b1d8388802e5f0db5d90a4572f7b89c4 to your computer and use it in GitHub Desktop.
useful alias
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 vb='vi ~/.bashrc' | |
alias sb='source ~/.bashrc' | |
alias vv="vi ~/.vimrc" | |
alias ll="ls -alh --color=auto" | |
alias grep="grep --color" | |
alias cd='func() { cd $1; ls;}; func' | |
alias ccc="cd $HOME/code/cpp_code/test_cpp/" | |
alias pyy="cd $HOME/code/py_code/" | |
alias py=python3 | |
alias ipy=ipython | |
# for git | |
alias gb='git branch' | |
alias gc='git checkout ' | |
alias gst='git status' | |
alias gm='git commit -m' | |
alias gp='func_git_push() { git push origin $1:refs/for/$1; }; func_git_push' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment