Created
February 11, 2025 09:22
make command to convert .env to .env.fish (with --global)
This file contains hidden or 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
convert-env-file-to-fish: ## take the existing .env and convert to fish format in .env.fish | |
@awk '{ split($$1, a, "="); printf "set -gx %s \"%s\"\n", a[1], a[2]; }' .env > .env.fish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment