forked from driesvints/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases.zsh
59 lines (52 loc) · 1.95 KB
/
aliases.zsh
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
52
53
54
55
56
57
58
59
# Shortcuts
#alias copyssh="pbcopy < $HOME/.ssh/id_rsa.pub"
#alias reloadcli="source $HOME/.zshrc"
#alias reloaddns="dscacheutil -flushcache && sudo killall -HUP mDNSResponder"
#alias ll="/usr/local/opt/coreutils/libexec/gnubin/ls -ahlF --color --group-directories-first"
#weather() { curl -4 wttr.in/${1:-antwerp} }
#alias phpstorm='open -a /Applications/PhpStorm.app "`pwd`"'
#alias shrug="echo '¯\_(ツ)_/¯' | pbcopy"
#alias c="clear"
#alias zbundle="antibody bundle < $DOTFILES/zsh_plugins.txt > $DOTFILES/zsh_plugins.sh"
# Directories
#alias dotfiles="cd $DOTFILES"
#alias library="cd $HOME/Library"
#alias sites="cd $HOME/Sites"
#alias lara="sites && cd laravel/"
# Laravel
#alias a="php artisan"
#alias ams="php artisan migrate:fresh --seed"
# PHP
#alias php73="/usr/local/Cellar/[email protected]/7.3.13/bin/php"
#alias php72="/usr/local/Cellar/[email protected]/7.2.26/bin/php"
#alias cfresh="rm -rf vendor/ composer.lock && composer i"
# JS
#alias nfresh="rm -rf node_modules/ package-lock.json && npm install"
#alias watch="npm run watch"
# Vagrant
#alias v="vagrant global-status"
#alias vup="vagrant up"
#alias vhalt="vagrant halt"
#alias vssh="vagrant ssh"
#alias vreload="vagrant reload"
#alias vrebuild="vagrant destroy --force && vagrant up"
# Docker
#alias docker-composer="docker-compose"
#alias dstop="docker stop $(docker ps -a -q)"
#alias dpurgecontainers="dstop && docker rm $(docker ps -a -q)"
#alias dpurgeimages="docker rmi $(docker images -q)"
#dbuild() { docker build -t=$1 .; }
#dbash() { docker exec -it $(docker ps -aqf "name=$1") bash; }
# Git
#alias commit="git add . && git commit -m"
#alias gcommit="git add . && git commit"
#alias amend="git commit --amend --no-edit"
#alias amendall="git add . && amend"
#alias wip="commit wip"
#alias gst="git status"
#alias gb="git branch"
#alias gc="git checkout"
#alias gd="git diff"
#alias resolve="git add . && git commit --no-edit"
#alias gl="git log --oneline --decorate --color"
#alias nuke="git clean -df && git reset --hard"