annotate dot_config/private_fish/functions/fzf_hg_status_files.fish @ 1091:a1fab5298ef6
draft tip
feat: update to bitwarden 25.3 and enable ssh-agent
author |
Zeger Van de Vannet <zeger@vandevan.net> |
date |
Mon, 21 Apr 2025 20:13:02 +0200 |
parents |
6ab26ddbf78d |
children |
|
rev |
line source |
1038
|
1 function fzf_hg_status_files
|
|
2 set result (HGRCPATH= rhg status -n --color=always --config commands.status.relative=yes| fzf --ansi -m --header "Select the file(s) to insert in the command line")
|
|
3 if test -n "$result"
|
|
4 commandline -i (string join " " -- $result "") # adds a space after the inserted line output
|
|
5 end
|
|
6 commandline -f repaint
|
|
7 end
|