-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.bash_aliases
51 lines (37 loc) · 994 Bytes
/
.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
47
48
49
50
51
#! /usr/bin/env bash
# vim: set filetype=sh :
# pure convenience stuff
alias mkdir="mkdir -pv"
alias py3="python3.4"
alias py2="python"
alias breload="source ~/.bashrc"
alias show_path="echo $PATH | awk -v RS=: '1'"
alias vbm="vboxmanage"
alias mv="mv -vn"
# make grep nice and stuff
alias g='grep'
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi
# some more ls aliases
alias ll='ls -alFh'
alias la='ls -A'
alias l='ls -CF'
alias ls='ls -a'
alias lf='ls -pal | grep -v /'
alias lsd="ls -dl */"
alias subl='open -a "sublime text"'
# docker shorcuts
alias dmm="docker-machine"
alias compose="docker-compose"
# tmux shortcuts
alias tmux="TERM=screen-256color-bce tmux"
tatt(){
tmux a -t $1
}