summaryrefslogtreecommitdiffstats
path: root/.bash_aliases
blob: d17ac45c16cac272bfcb1638dac5d2598cea96a7 (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
#!/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:=.config}/ncmpcpp/config"

alias gi='git init'
alias gcl='git clone'
alias gl='git log'
alias glf='git log --pretty=fuller'
alias grl='git rev-list'
alias gls='git ls-files'
alias gg='git grep'
alias gs='git status'
alias gsh='git show'
alias gd='git diff'
alias gdc='git diff --cached'
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 gbl='git blame'
alias grt='git remote'
alias gf='git fetch'
alias gpl='git pull'
alias gps='git push'

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