minor improvements
authorIan Kelling <ian@iankelling.org>
Fri, 16 May 2025 01:53:30 +0000 (21:53 -0400)
committerIan Kelling <ian@iankelling.org>
Fri, 16 May 2025 01:53:30 +0000 (21:53 -0400)
brc2
subdir_files/.config/mpv/mpv.conf

diff --git a/brc2 b/brc2
index 87f54518aab0a95476724d42688588ed0e14ab29..7865d23ab1392017fe1a29483784893d9f16523e 100644 (file)
--- a/brc2
+++ b/brc2
@@ -4839,11 +4839,17 @@ og() {
   gh_pr_num=$(gh pr ls --json number -q '.[].number' | tail -n1)
   m gh pr checkout $gh_pr_num -b $gh_pr_num
   m i rebase main
+  if ! git status | grep -qFx 'nothing to commit, working tree clean'; then
+    osi-github-end
+  fi
 }
 
 # continue og after fixing rebase
 o2() {
   GIT_EDITOR=true m i rebase --continue
+  osi-github-end
+}
+osi-github-end() {
   m i co main
   m i merge $gh_pr_num
   m osimain
@@ -4851,6 +4857,7 @@ o2() {
 
 We'd much appreciate if you promote the petition further!
 Thanks again!"
+
 }
 
 export BASEFILE_DIR=/a/bin/fai-basefiles
index 3aee05dd77d8dd509e7d8d834d871c417c05722f..b4487c2d36949e22e3d751e59387eb207a6467df 100644 (file)
@@ -18,6 +18,7 @@ hwdec=vdpau
 [l]
 loop-file=inf
 save-position-on-quit
+resume-playback
 #no-resume-playback
 #no-save-position-on-quit