Last active
April 9, 2020 13:29
-
-
Save gidgid/c5f3388974e192537eb7c0021751906b to your computer and use it in GitHub Desktop.
Source different env files
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
# source relevant env files via fzf | |
# note that sf() can also be used without Kubectl | |
sf() { | |
find ~/.envs -type f | fzf | while read filename; do source $filename; done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment