This addresses some of the issues I've run into while using
the snippet for some time:
- handle misplaced quotes in arguments (and some other things)
- silence `git` output when navigating to a directory junction
- don't trigger the hook when staying in the same directory
or when required environment variables are not present
- set last repository regardless of onefetch's exit code
- add primitive error handling
I've "formatted" it now since it was barely readable when inlined.
* Added fish git repository greeter script to wiki
* Update .github/wiki/Getting-Started.md
Fix typo in git greeter wiki
Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
* Update Getting-Started.md
Improve fish git greeter to be os agnostic
---------
Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
* clean up greeter and fix repository detection mechanism
* correct username to match that on GitHub
Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
* list configuration files for other shells and fix formatting
Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
* setup action for syn wiki
* remove comments
* Update .github/workflows/wiki.yml
Co-authored-by: Spenser Black <spenserblack01@gmail.com>
* Update .github/workflows/wiki.yml
Co-authored-by: Spenser Black <spenserblack01@gmail.com>
Co-authored-by: Spenser Black <spenserblack01@gmail.com>