-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbashalias
More file actions
30 lines (30 loc) · 1.45 KB
/
bashalias
File metadata and controls
30 lines (30 loc) · 1.45 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
alias gco="git checkout"
alias gpl="git pull"
alias gph="git push"
alias gst="git status -s -b"
alias glog='git log HEAD --graph --abbrev-commit --full-history --color --pretty=format:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x20%x1b[33m(%an)%x1b[0m"'
alias gad="git add ."
alias gcim="git commit --amend"
alias gphf="git push -f"
alias gba="git branch -a"
alias gci="git commit"
alias gdf="git diff"
alias hgrep="history|sort -k 2|uniq -f 1|sort -n|cut -f 2|grep"
alias gcon="PYTHONPATH=/scripts /scripts/git/checkout.py n"
alias gcom="PYTHONPATH=/scripts /scripts/git/checkout.py m mocked"
alias gbd="git branch -D"
alias grm="PYTHONPATH=/scripts /scripts/git/rebase.py"
alias gcob="PYTHONPATH=/scripts /scripts/git/checkout.py b"
alias bckp="tar -cz ~/.password-store | gpg --sign --encrypt -r 304CFE87 > ~/Public/bckp/m1c3"
alias ghub="PYTHONPATH=/scripts /scripts/git/hub.py"
alias gupf="/scripts/git/fetch_and_reset.sh"
alias psaux="ps -Ao pid,cmd | grep"
alias git_cleanup="/scripts/git/cleanup.sh"
alias ll='ls -alh'
alias la='ls -A'
alias l='ls -CFlh'
alias lsd="ls -alF | grep /$"
alias diskspace="du -S | sort -n -r |more"
alias docker_cleanup="docker system prune -f -a"
alias ucreds="xclip -o > ~/.aws/credentials; sed -i s/138419567366_AWSAdministratorAccess/default/ ~/.aws/credentials"
alias uvars='export AWS_ACCESS_KEY_ID_$AWS_ACC=$AWS_ACCESS_KEY_ID; export AWS_SECRET_ACCESS_KEY_$AWS_ACC=$AWS_SECRET_ACCESS_KEY; export AWS_SESSION_TOKEN_$AWS_ACC=$AWS_SESSION_TOKEN'