-
Notifications
You must be signed in to change notification settings - Fork 0
/
caliases.csh
78 lines (73 loc) · 2.44 KB
/
caliases.csh
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# single char aliases
alias a 'alias'
alias d 'ls -lF'
alias h 'history'
alias z 'ls -aF'
# misc aliases
alias bc 'bc -l'
alias cls 'clear'
alias ealias 'vi ~/settings/caliases.csh'
alias salias 'source ~/settings/caliases.csh'
alias ll 'ls -l'
alias lss 'ls -lSr'
alias lst 'ls -ltr'
alias md 'mkdir'
alias rd 'rmdir'
alias psu 'ps -f -u $USER'
alias psu2 'ps -f -u $USER -U $USER'
alias psuj 'ps -f -u $USER | grep java'
alias ssh-forward-port-example 'ssh -L local_port:remote_host:remote_port'
alias vimcr 'vim -b'
# Git aliases
alias gbd 'git branch --delete'
alias gbla 'git branch --all'
alias gbr 'git branch'
alias gchmod-x 'git update-index --chmod=-x'
alias gchmod-x-src 'find src -type f | xargs git update-index --chmod=-x'
alias gchmodx 'git update-index --chmod=+x'
alias gcb 'git checkout -b'
alias gclist 'git config --list --show-origin'
alias gcl-autocrlf 'git config --list --show-origin | grep core.autocrlf'
alias gci 'git commit'
alias gcis 'git commit --gpg-sign'
alias gco 'git checkout'
alias gdi 'git diff'
alias gfe 'git fetch'
alias gfp 'git fetch --prune'
alias gls-not-44 'git ls-tree HEAD | grep -v "44 "'
alias glg 'git log --graph --decorate'
alias glg1 'git log --graph --decorate --oneline'
alias glg2 'git log --graph --pretty=format:"%C(auto)%h -%d %s %Cgreen(%cd) %C(bold blue)<%an>%Creset" --date=format:%c'
alias glo 'git log'
alias gpfs 'git push --force-with-lease'
alias gpr 'git pull --rebase --prune'
alias gpu 'git pull'
alias gpush 'git push --set-upstream origin HEAD'
alias gsl 'git stash list'
alias gsp 'git stash pop'
alias gss 'git stash'
alias gst 'git status'
alias gsv 'git stash show'
alias gsvv 'git stash show -v'
alias gsv1 'git stash show stash@{1}'
alias gsv2 'git stash show stash@{2}'
alias gta 'git tag --annotate'
alias gtas 'git tag --annotate --sign'
# Gradle aliases
alias gr 'gradle'
alias grb 'gradle build'
alias grc 'gradle clean'
alias grcb 'gradle clean build'
alias grp2local 'gradle publishToMavenLocal'
alias gw './gradlew'
alias gw.. '../gradlew'
alias gwa 'gw assemble'
alias gwb 'gw build'
alias gwb.. 'gw.. build'
alias gwc 'gw clean'
alias gwcb 'gw clean build'
alias gwd 'gw dependencies'
alias gwdm 'gw dependencyManagement'
alias gwp2local 'gw publishToMavenLocal'
alias gwupgrade-example 'gw wrapper --gradle-version 4.10 --gradle-distribution-sha256-sum 248cfd92104ce12c5431ddb8309cf713fe58de8e330c63176543320022f59f18; gw wrapper -v'
alias sb-post-shutdown 'curl -X POST localhost:8080/actuator/shutdown'