From c9b74a8da61a5824c47dd206a09f780ec68b341d Mon Sep 17 00:00:00 2001 From: Paul Cutmore Date: Mon, 31 Jan 2022 08:36:44 +0000 Subject: [PATCH 1/6] BUGFIX: Replaced 'find ./' with 'find .' to fix for MacOS --- init.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.fish b/init.fish index 8dbde51..61c3659 100644 --- a/init.fish +++ b/init.fish @@ -7,9 +7,9 @@ function git-refresh --on-variable PWD \ --description "git pull automatically wherever inside a git repository" - set --local hasGit (find ./ -maxdepth 1 -type d -name .git -print) + set --local hasGit (find . -maxdepth 1 -type d -name .git -print) if test "$hasGit" = "./.git" echo -e "\e[1m(git-refresh) - GIT repo detected\e[0m" git pull --all --verbose end -end \ No newline at end of file +end From bd2b58729c30017df898dae8fe019614c883e608 Mon Sep 17 00:00:00 2001 From: PJC-64 Date: Thu, 5 Jan 2023 17:33:00 +0000 Subject: [PATCH 2/6] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index b7caae3..967ecf7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ #### git-refresh + +This is a clone of avimehenwal/git-fish, which fixes an issue with the 'find' command when run on MacOS with the latest fish (V3.5.1). + > A plugin for [Oh My Fish][omf-link]. [![MIT License](https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square)](/LICENSE) From 9acf5403bbb6fabcd210452f82570a8ecdcf0746 Mon Sep 17 00:00:00 2001 From: PJC-64 Date: Thu, 5 Jan 2023 17:33:55 +0000 Subject: [PATCH 3/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 967ecf7..96c6ad2 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ #### git-refresh -This is a clone of avimehenwal/git-fish, which fixes an issue with the 'find' command when run on MacOS with the latest fish (V3.5.1). +This is a clone of avimehenwal/git-refresh, which fixes an issue with the 'find' command when run on MacOS with the latest fish (V3.5.1). > A plugin for [Oh My Fish][omf-link]. From faf5631afa1f8b3d59592e0f24c06274fc3e99bc Mon Sep 17 00:00:00 2001 From: PJC-64 Date: Thu, 5 Jan 2023 17:36:27 +0000 Subject: [PATCH 4/6] Update README.md Added a working install command using fisher --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 96c6ad2..3c73649 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Hail Automation! :) ## Install ```fish -$ omf install git-refresh +$ fisher install PJC-64/git-refresh ``` From 0f90b12bf8dd95757dfdacc03d6d18e43c6db2dc Mon Sep 17 00:00:00 2001 From: PJC-64 Date: Thu, 5 Jan 2023 20:57:58 +0000 Subject: [PATCH 5/6] Update README.md Removed OMF 'icon', added Note that this version is only available via fisher not OMF. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c73649..bbef029 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,8 @@ This is a clone of avimehenwal/git-refresh, which fixes an issue with the 'find' [![MIT License](https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square)](/LICENSE) [![Fish Shell Version](https://img.shields.io/badge/fish-v2.2.0-007EC7.svg?style=flat-square)](https://fishshell.com) -[![Oh My Fish Framework](https://img.shields.io/badge/Oh%20My%20Fish-Framework-007EC7.svg?style=flat-square)](https://www.github.com/oh-my-fish/oh-my-fish) + +- NOTE: See Install for installation method via fisher. This version is NOT available directly via OMF.
From f622622650f91892780b4eb511b01d5288ec1977 Mon Sep 17 00:00:00 2001 From: PJC-64 Date: Thu, 5 Jan 2023 20:58:42 +0000 Subject: [PATCH 6/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bbef029..1418540 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ #### git-refresh -This is a clone of avimehenwal/git-refresh, which fixes an issue with the 'find' command when run on MacOS with the latest fish (V3.5.1). +This is a fork of avimehenwal/git-refresh, which fixes an issue with the 'find' command when run on MacOS with the latest fish (V3.5.1). > A plugin for [Oh My Fish][omf-link].