forked from driesvints/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lieselot Kinable
authored
Feb 18, 2020
1 parent
12842b8
commit 043ecdc
Showing
1 changed file
with
39 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,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" | ||
#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/" | ||
#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" | ||
#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" | ||
#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" | ||
#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" | ||
#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 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" | ||
#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" |