summaryrefslogtreecommitdiffstats
path: root/.bash_aliases
blob: 91e0cacb447b0af681ab410b7d17b8c242c04b74 (plain)
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
#!/bin/sh

alias ls='LC_ALL=C.UTF-8 ls --color=auto'
alias lsc='LC_ALL=C.UTF-8 ls --color=always'
alias grep='grep --color=auto'
alias sort='LC_ALL=C.UTF-8 sort'
alias less='less -RQ'
alias irc='ssh -t baldr1.pehjota.net screen -dR irc weechat-curses'
alias ncmpcpp="ncmpcpp -c ${XDG_CONFIG_HOME:=${HOME}/.config}/ncmpcpp/config"
alias gpv='gpicview'

alias gi='git init'
alias gcl='git clone'
alias gcf='git config'
alias gl='git log --pretty=fuller'
alias glf='git log --pretty=fuller'  # Deprecated
alias glo='git log --oneline'
alias gsl='git shortlog'
alias grl='git rev-list'
alias grp='git rev-parse'
alias gls='git ls-files'
alias gg='git grep'
alias gs='git status'  # Deprecate?
alias gst='git status'
alias gde='git describe'
alias gsh='git show --pretty=fuller --stat -p'
alias gd='git diff --stat -p'
alias gds='git diff --stat'  # Deprecated
alias gdc='git diff --cached --stat -p'
alias gdcs='git diff --stat --cached'  # Deprecated
alias ga='git add'
alias grm='git rm'
alias gmv='git mv'
alias gcm='git commit --verbose'
alias gt='git tag'
alias gb='git branch'
alias gco='git checkout'
alias gm='git merge'
alias gcp='git cherry-pick'
alias gss='git stash'
alias grs='git reset'
alias grv='git revert'
alias grb='git rebase'
alias gbl='git blame'
alias gbs='git bisect'
alias gfp='git format-patch'
alias grt='git remote'
alias gf='git fetch'
alias gpl='git pull'
alias gps='git push'
alias gsm='git submodule'
alias gwt='git worktree'
alias gur='git update-ref'

b()
{
	"${@}" >/dev/null 2>&1 &
}