-
Notifications
You must be signed in to change notification settings - Fork 1
/
alias
50 lines (45 loc) · 1.19 KB
/
alias
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
alias h='history | grep'
alias f='find . -iname'
alias x='exit'
alias v='vim'
alias vi='vim'
alias vd='vim -d'
alias grep='grep --color'
# ls aliases
alias l='eza --long --classify --header --color-scale --icons --no-permissions --time-style iso'
alias la='l --all'
alias lt='la --no-user --sort modified'
# git aliases
alias s='git st'
alias ss='git ss'
alias gl='git l'
alias ga='git la'
alias g='git la'
alias gaa='git laa'
alias gf='git f'
alias ri='git ri'
alias co='git co'
alias ci='git ci'
alias m='git m'
alias dif='git diff'
alias cached='git diff --cached'
alias add='git add'
alias skip='git rebase --skip'
alias cont='git rebase --continue'
alias pushf='git push --force'
alias absorb='git absorb --base origin/main^ --force'
alias onto='git rebase --onto HEAD HEAD^ main'
alias fixup='git ci --fixup HEAD'
alias test='git test run --retest --test '
alias up='cd ..'
alias up2='cd ../..'
alias up3='cd ../../..'
alias up4='cd ../../../..'
alias up5='cd ../../../../..'
alias up6='cd ../../../../../..'
alias up7='cd ../../../../../../..'
alias up8='cd ../../../../../../../..'
alias now='date +"%Y-%m-%d %H:%M:%S"'
alias gitk='gitk --all'
alias log="TZ='EST+5' ts '%Y-%m-%d %H:%M:%.S'"
alias cat='bat'