-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbash_aliases
46 lines (37 loc) · 1.13 KB
/
bash_aliases
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
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias tree='tree -C'
alias ll='ls -l'
alias la='ls -a'
alias ls='ls'
alias brake='bundle exec rake'
alias be='bundle exec'
alias xargs-vim='xargs bash -c '"'"'</dev/tty nvim "$@"'"'"' ignoreme'
alias ipad='open -a simulator --args -CurrentDeviceUDID 9570937E-44E2-4134-AB46-332DC6642C43'
alias vlc='/Applications/VLC.app/Contents/MacOS/VLC'
alias ff='ag --color-line-number "15" --color-match "106" --color-path "1;15"'
alias ctop='ctop -i'
alias v="bat --theme GitHub -p $@"
alias vv="bat --theme GitHub -p $@"
alias docker-console='docker run --interactive --tty --entrypoint=/bin/bash $@'
alias tapply='terraform apply my_plan && rm my_plan'
alias tget='terraform get -update'
alias tinit='rm -rf .terraform && terraform init'
alias tplan='terraform plan -out=my_plan '
alias tfmt='terraform fmt'
alias reka='rake'
alias wine='wine64'
px() {
QUERY=$(pgrep -d, $@) || return;
ps uwp $QUERY
}
fd() {
if [ "${1:0:1}" = "-" ]; then
find . $@
else
search=$1
shift
find . -name "*$search*" $@
fi
}