blob: 7d6a9774927a4936d131c8c1f029cdb92df4b382 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# various utils
## //util/bin/with
execute a command with an extended/modified environment
### usage
with ENV COMMAND
where `ENV` is the name of the environment and
`COMMAND` your to-be-executed command (-line).
### environment
- `env_dir` defines the directory where environment files are searched.
Default: `$HOME/.env.d`.
### example
cat > ~/.with/frh-ire <<EOF
export api_url=...
export api_key=...
export api_hash=...
EOF
with frh-ire //ext/solus/bin/client info
|