Remove a now-unused Fish function
- ID
00300af- date
2023-12-28 22:53:25+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
c3d8678- message
Remove a now-unused Fish function- changed files
1 file, 7 deletions
Changed files
fish_functions/gh-add-remote.fish (333) → fish_functions/gh-add-remote.fish (0)
diff --git a/fish_functions/gh-add-remote.fish b/fish_functions/gh-add-remote.fish
deleted file mode 100644
index 298da80..0000000
--- a/fish_functions/gh-add-remote.fish
+++ /dev/null
@@ -1,7 +0,0 @@
-# Within a GitHub repository, create a remote named 'alex' for a GitHub fork
-# of the same name. Useful if I cloned before forking.
-function gh-add-remote
- set origin_url (git remote get-url origin)
- set repo_name (string split "/" "$origin_url" | tail -n 1)
- git remote add alex "git@github.com:alexwlchan/$repo_name"
-end