-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_aliases
executable file
·46 lines (43 loc) · 1.38 KB
/
.bash_aliases
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
alias lsl="ls -lhFA | less"
alias fhere="find . -name "
alias psg="ps aux | grep -v grep | grep -i -e VSZ -e"
alias myip="curl http://ipecho.net/plain; echo"
alias sudo="sudo -E " # preserve environment by default
alias htop="TERM=screen htop"
alias random="uuidgen -r | md5sum | sed 's/ .*$//'"
alias uuid="uuidgen -r"
alias uuidc="uuid | pbcopy"
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'
alias ..="cd .."
alias ...="cd ../.."
alias du="du -ach | sort -h"
alias egrep="egrep --color=auto"
alias fgrep="fgrep --color=auto"
alias fhere="find . -name"
alias psg="ps aux | grep -v grep | grep -i -e VSZ -e"
alias purge-node-modules="find . -name node_modules -type d -prune -exec rm -rf {} +"
alias du="du -ach | sort -h"
alias egrep="egrep --color=auto"
alias fgrep="fgrep --color=auto"
alias fhere="find . -name"
# Docker
alias dps='docker-compose ps'
alias dstart='docker-compose up -d lb'
alias drmv='docker-compose kill && docker-compose rm -f'
alias dreset='docker-compose kill && docker-compose rm -f && dstart'
# Git
alias git="LANGUAGE=C LC_ALL=es_ES.utf-8 git"
alias got="git "
alias gp="git pull --rebase"
alias gps="git push"
alias gs="git status"
alias gd="git diff"
alias grc="git rebase --continue"
alias grs="git rebase --skip"
alias gra="git rebase --abort"
alias ga="git commit --amend"
#kubernetes
alias k=kubectl
alias kns=kubens
alias kctx=kubectx