Skip to content

🐟 Shows indexed chars for hidden or visible text data

License

Notifications You must be signed in to change notification settings

dideler/fish-index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

fish-index

Shows indexed characters for hidden or visible input strings.

Demo

Demo usage of fish-index

Installation

Install with your favourite fish package manager, such as fisherman or oh-my-fish

# Install with fisher v4
fisher install dideler/fish-index

# Install with fisher v3
fisher add dideler/fish-index

# Install with fisher v2
fisher install dideler/fish-index

# Install with oh-my-fish
omf install https://github.com/dideler/fish-index

Usage

Usage: index [OPTION] [STRINGS]

Description:
    Prints the index of characters in a string.
    Sensitive strings can be given as a prompt
    or fetched and cleared from the clipboard,
    to avoid appearing in the shell's history.

    When no indexes given, prints all indexes.

Examples:

    $ index ab cd
    1: a
    2: b

    1: c
    2: d

    $ index "ab cd"
    1: a
    2: b
    3:
    4: c
    5: d

    $ index
    Secret  β–Ά ●●●●
    Indexes β–Ά 2 4
    2: x
    4: z

    $ index
    Secret  β–Ά ●●●
    Indexes β–Ά
    1: x
    2: y
    3: z

    $ index
    Secret  β–Ά popped from clipboard
    Indexes β–Ά 1 2 3
    1: x
    2: y
    3: z

Options:
    -h, --help      Prints help and exits

Releases

No releases published

Packages

No packages published

Languages