Skip to content

Commit

Permalink
πŸ“¦ NEW: Alfred snippet collection (#14)
Browse files Browse the repository at this point in the history
* πŸ“¦ NEW: add Alfred snippet collection

A snippet collection for Alfred PowerPack users.

Intentionally, the "Name" column of the collection does not start with
an emojji. Alfreds Snippet browser doesn't use fuzzy find, it appears
to work off of first letters. Having the emojjis as the lead chatacter
makes the words hard to browse this way.

With auto expand turned on, the following keywords will expand to:

;new = πŸ“¦ NEW:
;improve = πŸ‘Œ IMPROVE:
;fix = πŸ› FIX:
;release = πŸš€ RELEASE:
;doc = πŸ“– DOC:
;test = βœ… TEST:

* πŸ‘Œ IMPROVE: use "g" namespace w/ shorter keywords

It's easier to remember and namespaced snippets since g stands for git.

Shorter keywors match shell function naming.

* πŸ› FIX: format TODO properly for todo bot

the bot expects the flag at the begining of a line, not the end.

* πŸ“¦ NEW: Icon
  • Loading branch information
davidsword authored and Ahmad Awais ⚑️ committed Apr 4, 2019
1 parent dd7e914 commit 41aa919
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
Binary file added Emoji-Log.alfredsnippets
Binary file not shown.
33 changes: 30 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

</h1>

> After building [hundreds of open source software](https://github.com/ahmadawais) I've ended up inventing a git commit log standard called `EMOJI-LOG`.
> After building [hundreds of open source software](https://github.com/ahmadawais) I've ended up inventing a git commit log standard called `EMOJI-LOG`.
[![emoji-log](https://cdn.rawgit.com/ahmadawais/stuff/ca97874/emoji-log/non-flat-round.svg)](https://github.com/ahmadawais/Emoji-Log/)

Expand Down Expand Up @@ -74,7 +74,7 @@ _β€” That's it for now. Nothing more nothing less._

#### THE WORKFLOW & MEANINGS

I'd like to share what each of these emojis mean.
I'd like to share what each of these emojis mean.

- `πŸ“¦ NEW:` Emoji meaning: A "package emoji" β€” which can contain new stuff.
- `πŸ‘Œ IMPROVE:` Emoji meaning: An "OK Hand emoji" β€” which is meant to appreciate an improvement.
Expand Down Expand Up @@ -149,7 +149,7 @@ If you prefer, you can paste these aliases directly in your `~/.gitconfig` file:

```sh
# Make sure you're adding under the [alias] block.
[alias]
[alias]
# Git Commit, Add all and Push β€” in one step.
cap = "!f() { git add .; git commit -m \"$@\"; git push; }; f"

Expand Down Expand Up @@ -241,6 +241,33 @@ If your repo uses `EMOJI-LOG` then you can add any of the following badges to yo

<br>

![AlfredSnippets](https://on.ahmda.ws/05bd88/c)

### Alfred Snippets

[Alfred](https://www.alfredapp.com/) [PowerPack](https://www.alfredapp.com/powerpack/) users can use the Snippets feature to quickly call Emoji-Log, or use the text expand feature for even quicker creation.

To setup:

1. Have Alfred 3 with PowerPack installed
2. For auto expansion, in _Alfred Settings Β» Features Β» Snippets_ ensure the "Automatically expand snippets by Keyword" box is checked
3. Download & open [`Emoji-Log.alfredsnippets`](Emoji-Log.alfredsnippets), deselecting "Strip snippets of 'auto expand' flag" when prompted

This will give the following text expander keywords for the Emoji-Log:

| Keyword | Snippet |
| --- | --- |
| `;gnew` | πŸ“¦ NEW: |
| `;gimp` | πŸ‘Œ IMPROVE: |
| `;gfix` | πŸ› FIX: |
| `;grlz` | πŸš€ RELEASE: |
| `;gdoc` | πŸ“– DOC: |
| `;gtst` | βœ… TEST: |

To edit the `;` prefix to your preferred expansion flag, double click right click the Emoji-Log Collection in _Alfred Settings Β» Features Β» Snippets_.

<br>

![Hello](https://on.ahmda.ws/os6O/c)

## [SUPPORT OPEN SOURCE PROJECTS](https://pay.paddle.com/checkout/515568) 🎩
Expand Down

0 comments on commit 41aa919

Please sign in to comment.