Created
February 11, 2025 09:22
-
-
Save hermannolafs/83cce0c8b23b6768ee5ad17f76ebcc58 to your computer and use it in GitHub Desktop.
make command to convert .env to .env.fish (with --global)
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
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