From 21a7459b2f9b59104e5243ca86b5f16c2c7ff50d Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 18 Nov 2022 06:50:40 -0800 Subject: cut return values from selecting git patches --- lib/common.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/common.nix b/lib/common.nix index 6aa74ac..a19df1f 100644 --- a/lib/common.nix +++ b/lib/common.nix @@ -401,7 +401,8 @@ in { _gp() { is_in_git_repo || return stg series | - fzf_down -m --ansi --preview 'stg show -O --color=always {2}' + fzf_down -m --ansi --preview 'stg show -O --color=always {2}' | + cut -d' ' -f2 } _gb() { -- cgit v1.2.3