summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <bsima@groq.com>2022-11-18 06:50:40 -0800
committerBen Sima <bsima@groq.com>2024-04-17 13:01:43 -0700
commit21a7459b2f9b59104e5243ca86b5f16c2c7ff50d (patch)
treeb96dbc2051306107c97f81457c7fb3d6ba6f3c35
parentddd5dddf08b14c215bbc42839501d1acaaf66257 (diff)
cut return values from selecting git patches
-rw-r--r--lib/common.nix3
1 files changed, 2 insertions, 1 deletions
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() {