Usage

Make files invisible

Don’t actually hide anything, just show what would be done
hf hide -n data.txt
Actually hide files
hf hide -f data.txt

Make hidden files visible

Don’t actually show anything, just show what would be done
hf show -n .data.txt
Actually show hidden files
hf show -f .data.txt

Generate shell completion

--generate-completion option generates shell completions to standard output.

The following shells are supported
  • bash

  • elvish

  • fish

  • nushell

  • powershell

  • zsh

Example
hf --generate-completion bash > hf.bash