shell: add aliases
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
c = commit -v
|
c = commit -v
|
||||||
ca = commit -v --amend
|
ca = commit -v --amend
|
||||||
co = checkout
|
co = checkout
|
||||||
|
cp = cherry-pick
|
||||||
d = diff
|
d = diff
|
||||||
lg = log --oneline --decorate --graph
|
lg = log --oneline --decorate --graph
|
||||||
lgp = lg -p
|
lgp = lg -p
|
||||||
@@ -25,3 +26,5 @@
|
|||||||
coloring = highlightRecent
|
coloring = highlightRecent
|
||||||
[color "blame"]
|
[color "blame"]
|
||||||
highlightRecent = 248, 23 month ago, 247, 21 month ago, 246, 19 month ago, 245, 17 month ago, 244, 15 month ago, 243, 13 month ago, 242, 11 month ago, 241, 9 month ago, 240, 8 month ago, 239, 7 month ago, 238, 6 month ago, 237, 5 month ago, 236, 4 month ago, 235, 3 month ago, 234, 2 month ago, 233, 1 month ago, 232, 1 week ago, 112
|
highlightRecent = 248, 23 month ago, 247, 21 month ago, 246, 19 month ago, 245, 17 month ago, 244, 15 month ago, 243, 13 month ago, 242, 11 month ago, 241, 9 month ago, 240, 8 month ago, 239, 7 month ago, 238, 6 month ago, 237, 5 month ago, 236, 4 month ago, 235, 3 month ago, 234, 2 month ago, 233, 1 month ago, 232, 1 week ago, 112
|
||||||
|
[grep]
|
||||||
|
lineNumber = true
|
||||||
|
|||||||
@@ -6,8 +6,14 @@ fi
|
|||||||
|
|
||||||
# general
|
# general
|
||||||
alias c='clear'
|
alias c='clear'
|
||||||
|
alias cr='cargo run'
|
||||||
|
alias cb='cargo build'
|
||||||
alias t='tmux a || tmux'
|
alias t='tmux a || tmux'
|
||||||
alias o='xdg-open' # to change a mime use: `xdg-mime default APPLICATION HANDLE`
|
alias o='xdg-open' # to change a mime use: `xdg-mime default APPLICATION HANDLE`
|
||||||
|
alias v='vim'
|
||||||
|
alias d='docker'
|
||||||
|
alias dc='docker compose'
|
||||||
|
alias g='git'
|
||||||
alias gg='git grep $1'
|
alias gg='git grep $1'
|
||||||
alias tex='nix-shell ~/.dots/tex.nix'
|
alias tex='nix-shell ~/.dots/tex.nix'
|
||||||
alias texmk="latexmk -xelatex -shell-escape"
|
alias texmk="latexmk -xelatex -shell-escape"
|
||||||
|
|||||||
Reference in New Issue
Block a user