https://github.com/branchvincent/tide-show-on-cmd
Fish port of Powerlevel10k's Show On Command
https://github.com/branchvincent/tide-show-on-cmd
Last synced: 22 days ago
JSON representation
Fish port of Powerlevel10k's Show On Command
- Host: GitHub
- URL: https://github.com/branchvincent/tide-show-on-cmd
- Owner: branchvincent
- Created: 2021-07-21T04:52:02.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-05T09:10:51.000Z (about 2 years ago)
- Last Synced: 2025-03-23T20:05:07.480Z (about 1 month ago)
- Language: Shell
- Homepage:
- Size: 29.3 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tide - Show On Command
[](https://github.com/branchvincent/tide-show-on-cmd/actions/workflows/ci.yaml)
A [Tide](https://github.com/IlanCosman/tide) extension to enable [Powerlevel10k](https://github.com/romkatv/powerlevel10k)'s awesome [`show on command`](https://github.com/romkatv/powerlevel10k#show-on-command) feature.

## Installation
With [Fisher](https://github.com/jorgebucaran/fisher):
```shell
fisher install branchvincent/tide-show-on-cmd
```## Configuration
First, add our item to the prompt:
```fish
set -a tide_right_prompt_items kubectl
```Then, enable it to only show on certain commands:
```fish
set -gx tide_show_kubectl_on kubectl helm kubens kubectx stern
```## Caveats
Note, this implementation is very naive compared to Powerlevel10k as the current commandline is only queried when a space is entered.