`fzf`: Create shell snippets
Lehmanator opened this issue · comments
Sam Lehman commented
Many found in fzf
repo: junegunn/fzf
Implementation
pkgs.writeShellApplication
Example:
fzf-ps = pkgs.writeShellApplication {
name = "fzf-ps";
runtimeInputs = [
pkgs.fzf
pkgs.ps
];
text = ''
ps | fzf
#curl -s 'https://nixos.org' | w3m -dump -T text/html
'';
}