diff --git a/files/git/.gitconfig b/files/git/.gitconfig index 9bd2446..432f203 100644 --- a/files/git/.gitconfig +++ b/files/git/.gitconfig @@ -10,6 +10,7 @@ c = commit -v ca = commit -v --amend co = checkout + cp = cherry-pick d = diff lg = log --oneline --decorate --graph lgp = lg -p @@ -25,3 +26,5 @@ coloring = highlightRecent [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 +[grep] + lineNumber = true diff --git a/files/shell/.shellrc.alias b/files/shell/.shellrc.alias index 93ead52..2a1e617 100644 --- a/files/shell/.shellrc.alias +++ b/files/shell/.shellrc.alias @@ -6,8 +6,14 @@ fi # general alias c='clear' +alias cr='cargo run' +alias cb='cargo build' alias t='tmux a || tmux' 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 tex='nix-shell ~/.dots/tex.nix' alias texmk="latexmk -xelatex -shell-escape"