| Hash | Commit message | Author | Date | Files | + | - |
1 | commit 047c52c2cad22f89611f01c87384ece5248f4388 |
2 | Author: Connor Etherington <[email protected]> |
3 | Date: Mon Aug 1 09:54:53 2022 +0200 |
4 | |
5 | Auto-Commit Update - 20220801 |
6 | --- |
7 | PKGBUILD | 2 +- |
8 | usr/bin/snip | 4 ++-- |
9 | 2 files changed, 3 insertions(+), 3 deletions(-) |
10 | |
11 | diff --git a/PKGBUILD b/PKGBUILD |
12 | index 50eddfd..97a3d16 100644 |
13 | --- a/PKGBUILD |
14 | +++ b/PKGBUILD |
15 | @@ -1,7 +1,7 @@ |
16 | # Maintainer: Connor Etherington <[email protected]> |
17 | # --- |
18 | pkgname=snip |
19 | -pkgver=0.1.0 |
20 | +pkgver=0.1.1 |
21 | pkgrel=1 |
22 | pkgdesc="A simple snippet manager for your predefined Ultisnips Snippet Directory" |
23 | arch=(any) |
24 | diff --git a/usr/bin/snip b/usr/bin/snip |
25 | index f92bfaf..1623275 100755 |
26 | --- a/usr/bin/snip |
27 | +++ b/usr/bin/snip |
28 | @@ -64,7 +64,7 @@ editSnippet(){ dialog \ |
29 | --stdout --no-tags --colors \ |
30 | --title " ~ Select Snippet Type ~ " \ |
31 | --menu "\\n Please Select Snippet Type :\\n " 16 50 70 \ |
32 | - 'ALL' 'All Snippets' "${snipType[@]}" 'NEW' 'Define New Snippet Type' \ |
33 | + "${snipType[@]}" 'NEW' 'Define New Snippet Type' \ |
34 | >${tmpSnipType} || exit 0 |
35 | |
36 | [[ -z $(cat ${tmpSnipType}) ]] && err "No Snippet Type Was Entered..." |
37 | @@ -104,7 +104,7 @@ source ${SNIPDATA}/sniprc >/dev/null 2>&1 |
38 | |
39 | echo 'snipType=(' >${tmpSnipName} |
40 | |
41 | -for x in $(ls -1 ${SNIPDIR}); do |
42 | +for x in $(ls -1 ${SNIPDIR}|grep ".*\.snippets$"); do |
43 | echo "'${x}' '$(basename ${x} .snippets) \ |
44 | Snippets'" >>${tmpSnipName} ; done |
45 | |