-
Notifications
You must be signed in to change notification settings - Fork 0
/
alias.sh
40 lines (32 loc) · 964 Bytes
/
alias.sh
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
alias l="ls -lhF"
alias ll="ls -lhF"
alias la="ls -lAhF"
alias pd="pushd"
alias ppd="popd"
alias pssh="ssh -o PreferredAuthentications=keyboard-interactive,password -o PubkeyAuthentication=no"
alias pscp="scp -o PreferredAuthentications=keyboard-interactive,password -o PubkeyAuthentication=no"
alias v="vim -O"
alias vc="vim --clean -O"
alias vi="vim -O"
alias vim="vim -O"
alias h="history | less +G"
alias gb="git branch"
alias gc="git commit"
alias gr="git rebase"
alias grm="git rebase origin/master"
alias grma="git rebase origin/main"
alias gch="git checkout"
alias gco="git clone"
alias gd="git diff"
alias gf="git fetch -p --all"
alias gl="git log"
alias gp="git pull"
alias gpu="git push"
alias gs="git status"
alias ga="git add"
alias grc="git rebase --continue"
alias gra="git rebase --abort"
alias grs="git rebase --skip"
alias k=kubectl
alias standby='while true; do echo -n . && sleep 15; done'
alias chompifeof="perl -pi -e 'chomp if eof'"