-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbash_aliases
More file actions
60 lines (50 loc) · 2.09 KB
/
Copy pathbash_aliases
File metadata and controls
60 lines (50 loc) · 2.09 KB
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
# .bash_aliases
# Aliases
## git Aliases
alias gitc='git cz commit'
alias gitcl='git clone'
alias gits='git status'
alias gita='git add'
alias gitph='git push'
alias gitphf='git push --force-with-lease'
alias gitpl='git pull'
alias gitrst='git reset --soft $(git merge-base master HEAD)'
alias gitco='git checkout'
alias gitbr='git branch'
## docker Aliases
alias dcrc='docker-compose down; docker-compose up --build -d'
alias dstart='open -a Docker'
## Commandline Aliases
alias lsh='ls -ltrh'
alias scc='~/./.select-cluster-config'
alias ce='~/./.select-cluster-env'
alias mojcp='aws sso login --profile moj-cp'
## Iterm2 Script Aliases
alias pkgver='bash ~/.brew-version-check.bash'
alias cplive='osascript ~/.cloudplat-live.scpt'
alias cplivem='osascript ~/.cloudplat-live-m.scpt'
alias cplive2='osascript ~/.cloudplat-live-2.scpt'
alias cplive2m='osascript ~/.cloudplat-live-2-m.scpt'
alias cpmgr='osascript ~/.cloudplat-mgr.scpt'
alias cpmgrm='osascript ~/.cloudplat-mgr-m.scpt'
alias cptest='osascript ~/.cloudplat-test.scpt'
alias cptestm='osascript ~/.cloudplat-test-m.scpt'
## URL Aliases
alias urlgoogle='/usr/bin/open -a "/Applications/Google Chrome.app" 'https://google.com/''
alias urlaws='/usr/bin/open -a "/Applications/Google Chrome.app" 'https://aws.amazon.com/''
## Cloud Platform
alias urlcp='/usr/bin/open -a "/Applications/Google Chrome.app" 'https://github.com/ministryofjustice/cloud-platform''
alias urlcpi='/usr/bin/open -a "/Applications/Google Chrome.app" 'https://github.com/ministryofjustice/cloud-platform-infrastructure''
alias urlcpe='/usr/bin/open -a "/Applications/Google Chrome.app" 'https://github.com/ministryofjustice/cloud-platform-environments''
## kubectl Aliases
alias k=kubectl
alias kpn="bash ~/playground/shell-scripts/kubectl-pods-node-commands.bash"
## reposiory Aliases
alias cprepo='cd ~/repo/cloud-platform'
alias jsrepo='cd ~/repo/jackstockley89'
alias mprepo='cd ~/repo/modernisation-platform'
## confing
alias authlive='cat ~/.properties/live-auth.txt'
alias authethm='cat ~/.properties/ethm-auth.txt'
## script wrapper
alias overview='bash ~/.wrapper_scripts/overview.bash'