summaryrefslogtreecommitdiff
path: root/.aliases.bashrc
blob: 15833307fd55a998fe959c52aa79cdea673e0f84 (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
alias g='grep'

alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias ip='ip -color=auto'
xqrs() {
	xbps-query -Rs "$@" | grep -v 32bit ;
}
alias xqr='xbps-query -R'


alias kb='kak ~/.bashrc'
alias .b='source ~/.bashrc'

alias l='ls -lah'
alias la='ls -a'

apwd () {
	pwd | sed -e 's!'"$HOME"'!~!'
}

alias mirror='mpv --untimed --profile=low-latency --vf=hflip /dev/video0'

alias gds='git diff --staged'

alias mp='mpv --vid=no --audio-pitch-correction=no'

alias lh='locate "/home/rebecca/*"'
alias lih='locate -i "/home/rebecca/*"'

alias enjerv="_enjerv; cd /home/rebecca/jerv/files"

gb () { grep "$1" ~/.bash_history; }
alias k='rlwrap ~/src/k/k ~/src/k/repl.k'

gw () { grep "$@" ~/corncob.txt; }