Remove macOS and PhpStorm logic

This commit is contained in:
Oliver Davies 2021-06-10 23:08:32 +01:00
parent e9a8ec2734
commit b7541a195e
3 changed files with 4 additions and 36 deletions

View file

@ -11,19 +11,6 @@ function mkd() {
mkdir -p "$@" && cd "$@"
}
function db {
if [ "$1" = "refresh" ]; then
mysql -uroot -e "drop database $2; create database $2"
elif [ "$1" = "create" ]; then
mysql -uroot -e "create database $2"
elif [ "$1" = "drop" ]; then
mysql -uroot -e "drop database $2"
fi
}
is_linux() { [[ "$(uname)" == 'Linux' ]] }
is_macos() { [[ "$(uname)" == "Darwin" ]] }
function composer() {
docker run -u $UID -it --rm \
-v $(pwd):/app \