Created
February 26, 2025 13:21
-
-
Save mattmc3/f44ac7356ef71190cea54e56246f47ac to your computer and use it in GitHub Desktop.
Fish: Get directory of current script
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
#!/usr/bin/env fish | |
path resolve (status --current-filename)/.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment