| Crates.io | otc |
| lib.rs | otc |
| version | 0.1.7 |
| created_at | 2023-06-05 23:14:02.060494+00 |
| updated_at | 2024-04-26 17:14:33.673009+00 |
| description | Oh My Posh theme Chooser |
| homepage | |
| repository | https://github.com/nrdrch/otc |
| max_upload_size | |
| id | 883407 |
| size | 61,561 |
(currently only Windows!)
cargo install otc
git clone https://github.com/nrdrch/otc.git
cd otc
cargo build --release
| Option | Description | Example |
|---|---|---|
| --list-themes, -ls | List Themes | otc -ls |
| --update-omp, -u | Update OMP including themes | otc -u |
| --choose-theme, -ch | Choose theme by name | otc -ch bubblesextra |
| --add-newtheme, -a | Add a theme to the list | otc -a "Name" "/Path/to/theme" |
| -help, -h | Display help | otc -h |
For easier usage and overview, the themes get trimmed of thier file extension before listing.
command alias: -ls
otc --list-themes
command alias: -u
otc --update-omp
Don't include file extensions when choosing as well. This will also choose from the newly created themes.
command alias: -ch
otc --choose-theme amro
As mentioned before, the themes get saved to WindowsPowerShell\ompthemes
command alias: -a
otc --add-newtheme amroedit
or
otc --add-newtheme test "path\to\themefile.extension"