mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 22:57:46 +00:00
parse fish command history for git usage (#184)
This is a privacy friendly way to extract command and subcommand usage for Fish shell users
This commit is contained in:
parent
47325b9a21
commit
927558cf2d
1 changed files with 1 additions and 0 deletions
1
cool-oneliners/parse_fish_command_history.nu
Normal file
1
cool-oneliners/parse_fish_command_history.nu
Normal file
|
@ -0,0 +1 @@
|
|||
open ~/.config/fish/fish_history | from yaml | get cmd | find --regex '^git .*' | split column ' ' command subcommand
|
Loading…
Add table
Add a link
Reference in a new issue