https://github.com/p6m7g8-dotfiles/p6macosx
P6 Dotfiles: POSIX.2 macOS-specific utility functions
https://github.com/p6m7g8-dotfiles/p6macosx
bash cli macos p6 p6m7g8 sh shell terminal zsh
Last synced: 3 months ago
JSON representation
P6 Dotfiles: POSIX.2 macOS-specific utility functions
- Host: GitHub
- URL: https://github.com/p6m7g8-dotfiles/p6macosx
- Owner: p6m7g8-dotfiles
- Created: 2022-03-18T21:03:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2026-03-07T21:01:05.000Z (4 months ago)
- Last Synced: 2026-03-07T23:16:31.738Z (4 months ago)
- Topics: bash, cli, macos, p6, p6m7g8, sh, shell, terminal, zsh
- Language: Shell
- Homepage: https://continuouslearning.io
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# P6's POSIX.2: p6macosx
## Table of Contents
- [Badges](#badges)
- [Summary](#summary)
- [Contributing](#contributing)
- [Code of Conduct](#code-of-conduct)
- [Usage](#usage)
- [Hooks](#hooks)
- [Functions](#functions)
- [Hierarchy](#hierarchy)
- [Author](#author)
## Badges
[](https://opensource.org/licenses/Apache-2.0)
## Summary
TODO: Add a short summary of this module.
## Contributing
- [How to Contribute]()
## Code of Conduct
- [Code of Conduct]()
## Usage
### Hooks
- `deps` -> `p6df::modules::p6macosx::deps()`
- `init` -> `p6df::modules::p6macosx::init(_module, dir)`
### Functions
#### p6macosx
##### p6macosx/init.zsh
- `p6df::modules::p6macosx::deps()`
- `p6df::modules::p6macosx::init(_module, dir)`
- Args:
- _module
- dir
#### p6macosx/lib
##### p6macosx/lib/osa.sh
- `p6_macosx_osa_iterm_color(host, fg, bg, alpha)`
- Args:
- host
- fg
- bg
- alpha
- `p6_macosx_osa_iterm_color_default()`
- `p6_macosx_osa_iterm_color_run(host, code)`
- Args:
- host
- code
- `p6_macosx_osa_iterm_color_set(host)`
- Args:
- host
- `str bg = p6_macosx_osa_bg_for_host(host)`
- Args:
- host
- `str fg = p6_macosx_osa_fg_for_host(host)`
- Args:
- host
## Hierarchy
```text
.
├── init.zsh
├── lib
│ └── osa.sh
└── README.md
2 directories, 3 files
```
## Author
Philip M. Gollucci