Skip to content

Instantly share code, notes, and snippets.

@tttimur
tttimur / cdf
Last active June 7, 2019 20:08
copy cdf
cdf() {
cd "$(osascript -e 'tell app "Finder" to POSIX path of (insertion location as alias)')";
}
# Important that you set the path to the folder where your docker-compose.yml lives
#
# e.g. Documents/Git/workspace
DOCKER_COMPOSE_PATH=''
# ---------------DOCKER/DOCKER COMPOSE:-------------------
# Runs a docker command of your choice from anywhere.
#
# Usage: dc <command>