forked from imarquezc/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases
executable file
·38 lines (32 loc) · 890 Bytes
/
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
# Unix
alias cat="bat"
alias tlf="tail -f"
alias ln='ln -v'
alias mkdir='mkdir -p'
alias ...='../..'
alias l='ls'
alias ll='ls -al'
alias lh='ls -Alh'
alias -g G='| grep'
alias -g M='| less'
alias -g L='| wc -l'
alias -g ONE="| awk '{ print \$1}'"
alias e="$EDITOR"
alias v="$VISUAL"
alias help="tldr"
# Git
alias grbiam='git rebase -i --autosquash master'
# Bundler
alias b="bundle"
# Tests and Specs
alias t="ruby -I test"
# Rails
alias m="migrate"
alias s="rspec"
# Pretty print the path
alias path="echo $PATH | tr -s ':' '\n'"
# Global Docker Compose
alias services="docker-compose -p global -f ~/.docker-compose.global.yml ps"
alias services-up="docker-compose -p global -f ~/.docker-compose.global.yml up -d"
alias services-down="docker-compose -p global -f ~/.docker-compose.global.yml down"
alias services-logs="docker-compose -p global -f ~/.docker-compose.global.yml logs"