@@ -15,52 +15,52 @@ Helpful GitHub assistant for Alfred.
1515
1616## Usage
1717- Search all public GitHub repositories via the keyword ` gh ` .
18- + <kbd>⏎</kbd>: Open the repo's GitHub page.
19- + <kbd>⌘⏎</kbd>: Open the repo's homepage. If it has none, opens the
18+ * <kbd>⏎</kbd>: Open the repo's GitHub page.
19+ * <kbd>⌘⏎</kbd>: Open the repo's homepage. If it has none, opens the
2020 releases page instead.
21- + <kbd>⌥⏎</kbd>: Copy the repo URL.
22- + <kbd>⌃⏎</kbd>: Clone the repo to a local folder and open in the Terminal.
21+ * <kbd>⌥⏎</kbd>: Copy the repo URL.
22+ * <kbd>⌃⏎</kbd>: Clone the repo to a local folder and open in the Terminal.
2323- Access your repositories via ` gmy ` . (Limited to the 100 repos last updated.)
24- + <kbd>⏎</kbd>: If the repo is available locally on your device, open it in
24+ * <kbd>⏎</kbd>: If the repo is available locally on your device, open it in
2525 the terminal. Otherwise, open the repo's GitHub page.
26- + <kbd>⌘⏎</kbd>: Open the repo's GitHub page.
27- + <kbd>⌥⏎</kbd>: Copy the repo URL.
28- + <kbd>⇧⏎</kbd>: Clone the repo to a local folder and open in the Terminal.
26+ * <kbd>⌘⏎</kbd>: Open the repo's GitHub page.
27+ * <kbd>⌥⏎</kbd>: Copy the repo URL.
28+ * <kbd>⇧⏎</kbd>: Clone the repo to a local folder and open in the Terminal.
2929 If the repo is already locally available on your device, just open the
3030 repository in the Terminal.
31- + To include private repos, requires [GitHub
31+ * To include private repos, requires [GitHub
3232 Token](https://github.com/settings/tokens).
3333- Open recent GitHub issues you are involved in with ` ghi ` .
34- + <kbd>⏎</kbd>: Open the issue in the browser.
35- + <kbd>⌥⏎</kbd>: Copy the issue URL.
36- + To include issues in private repos, requires [GitHub
34+ * <kbd>⏎</kbd>: Open the issue in the browser.
35+ * <kbd>⌥⏎</kbd>: Copy the issue URL.
36+ * To include issues in private repos, requires [GitHub
3737 Token](https://github.com/settings/tokens).
3838- Access PRs you have opened with the keyword ` gpr ` .
39- + <kbd>⏎</kbd>: Open the PR in the browser.
40- + <kbd>⌥⏎</kbd>: Copy the link to the PR.
41- + To include private PRs, requires [GitHub
39+ * <kbd>⏎</kbd>: Open the PR in the browser.
40+ * <kbd>⌥⏎</kbd>: Copy the link to the PR.
41+ * To include private PRs, requires [GitHub
4242 Token](https://github.com/settings/tokens).
4343- Directly open your GitHub notification via ` ghn ` .
44- + Requires [GitHub Token](https://github.com/settings/tokens).
45- + <kbd>⏎</kbd>: Open the notification in the browser. In cases where no URL
44+ * Requires [GitHub Token](https://github.com/settings/tokens).
45+ * <kbd>⏎</kbd>: Open the notification in the browser. In cases where no URL
4646 is available, such as deleted comments or CI activity, opens the GitHub
4747 notification inbox instead.
48- + <kbd>⌘⏎</kbd>: Mark the notification as read.
49- + <kbd>⌥⏎</kbd>: Copy the URL of the notification target.
50- + <kbd>⌃⏎</kbd>: Mark the notification as done.
48+ * <kbd>⌘⏎</kbd>: Mark the notification as read.
49+ * <kbd>⌥⏎</kbd>: Copy the URL of the notification target.
50+ * <kbd>⌃⏎</kbd>: Mark the notification as done.
5151- Additionally, you can press the
52- [ hotkey] ( https://www.alfredapp.com/help/workflows/triggers/hotkey/ ) to clone
53- a GitHub repo from the current browser tab. ([ Note that Firefox is not
52+ [ hotkey] ( https://www.alfredapp.com/help/workflows/triggers/hotkey/ ) to clone a
53+ GitHub repo from the current browser tab. ([ Note that Firefox is not
5454 supported.] ( https://www.alfredforum.com/topic/16748-how-to-do-x-in-firefox-from-alfred/ ) )
5555
5656## GitHub Token
5757Optional. Only required for showing notifications, private PRs, and private
5858repos. The token requires accesses to private repos and to notifications. The
5959workflow will check for the token in the following order:
60- 1 . Add the ` GITHUB_TOKEN ` in the Alfred workflow configuration.
61- 2 . Or: add a shell command that outputs your ` GITHUB_TOKEN ` , such as `cat
62- $HOME/my_token.txt`.
63- 3 . Or: export the token in your ` .zshenv ` .
60+ 1 . The ` GITHUB_TOKEN ` in the Alfred workflow configuration.
61+ 2 . A shell command that outputs your ` GITHUB_TOKEN ` , such as `cat
62+ $HOME/my_token.txt`, defined in your workflow settings .
63+ 3 . A token exported in your ` .zshenv ` , such as ` export GITHUB_TOKEN=… ` .
6464
6565## Installation
6666[ ➡️ Download the latest release.] ( https://github.com/chrisgrieser/gitfred/releases/latest )
0 commit comments