forked from justone/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.alias
31 lines (27 loc) · 1.34 KB
/
.alias
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
alias ls="ls --color=auto --group-directories-first -F -h --time-style=long-iso"
alias lsv="ls --color=auto --group-directories-first -F -h -a -l --time-style=long-iso"
alias xcrun=""
alias fuck='$(thefuck $(fc -ln -1))'
alias em="sudo emerge"
alias emw="sudo emerge -uDN --keep-going @world"
alias es="sudo eix-sync -H -a"
alias rm-unite-cache="rm -rf ~/.cache/unite"
alias cgdb="cgdb -- -x ~/.cgdbinit"
alias rg="rg --colors=path:fg:green --colors=path:style:bold --colors=line:fg:yellow"
alias ida32="wine ~/.wine/drive_c/Program\ Files/IDA\ 7.0/ida.exe"
alias ida64="wine ~/.wine/drive_c/Program\ Files/IDA\ 7.0/ida64.exe"
function pwg() {
pwgen -1cnysBr"\!/>~=]<}:[#|@*;'\"?{^)+&(\`_$\\-0zyZY" ${1:-20}
}
# Override some git aliases
alias gbl='git branch -vv'
alias gbL='git branch -avv'
alias gl='git log --date-order --pretty=format:"${_git_log_medium_format}"'
alias gls='git log --date-order --stat --pretty=format:"${_git_log_medium_format}"'
alias gld='git log --date-order --stat --patch --full-diff --pretty=format:"${_git_log_medium_format}"'
alias glo='git log --date-order --pretty=format:"${_git_log_oneline_format}"'
alias glg='git log --date-order --all --graph --pretty=format:"${_git_log_oneline_format}"'
alias glb='git log --date-order --pretty=format:"${_git_log_brief_format}"'
if [ -f "$HOME/.alias.local" ]; then
. "$HOME/.alias.local"
fi