authserver/homestead/conf/aliases
author rougeronj
Fri, 07 Aug 2015 17:25:23 +0200
changeset 75 b78e2ec3e7a5
parent 8 5a0cbbe0922a
permissions -rw-r--r--
ellipsis for long texts in the annotations and show filters

alias ..="cd .."
alias ...="cd ../.."

alias h='cd ~'
alias c='clear'

function serve() {
	if [[ "$1" && "$2" ]]
	then
		sudo dos2unix /vagrant/scripts/serve.sh
		sudo bash /vagrant/scripts/serve.sh "$1" "$2" 80
	else
		echo "Error: missing required parameters."
		echo "Usage: "
		echo "  serve domain path"
	fi
}