https://github.com/tsfoster/posix-source
Source POSIX-style env files in fish
https://github.com/tsfoster/posix-source
environment-variables fish fish-shell fisherman
Last synced: 26 days ago
JSON representation
Source POSIX-style env files in fish
- Host: GitHub
- URL: https://github.com/tsfoster/posix-source
- Owner: TSFoster
- License: mit
- Created: 2018-06-25T15:11:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-18T02:14:12.000Z (almost 8 years ago)
- Last Synced: 2025-03-05T15:51:15.357Z (over 1 year ago)
- Topics: environment-variables, fish, fish-shell, fisherman
- Language: Shell
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# posix-source
Source POSIX-style env files in fish
## Install
With [fisherman]
```
fisher TSFoster/posix-source
```
## Usage
```fish
posix-source ( -h | --help ) # Print help to STDOUT
posix-source FILE ... # Read file(s) and set exported variables
posix-source (-n | --no-interpret) FILE ... # Read file(s) and set exported variables, treating variables as literal strings
posix-source (-p | --print) FILE ... # Read file(s) and print fish commands to STDOUT
```
[fisherman]: https://github.com/fisherman/fisherman