| Hash | Commit message | Author | Date | Files | + | - |
1 | commit c4bc41ce16f178f87a8797bc309394985cb7348e |
2 | Author: Connor Etherington <[email protected]> |
3 | Date: Thu Dec 1 23:07:43 2022 +0200 |
4 | |
5 | Auto-Commit Update - 20221201 |
6 | --- |
7 | PKGBUILD | 2 +- |
8 | usr/bin/qed | 2 ++ |
9 | 2 files changed, 3 insertions(+), 1 deletion(-) |
10 | |
11 | diff --git a/PKGBUILD b/PKGBUILD |
12 | index 77a44ed..0f215e3 100644 |
13 | --- a/PKGBUILD |
14 | +++ b/PKGBUILD |
15 | @@ -1,7 +1,7 @@ |
16 | # Maintainer: Connor Etherington <[email protected]> |
17 | # --- |
18 | pkgname=qed |
19 | -pkgver=0.1.0 |
20 | +pkgver=0.1.1 |
21 | pkgrel=1 |
22 | arch=(any) |
23 | pkgdesc="Quick Edit - A CLI tool to quickly edit and save files saved slots 1-10" |
24 | diff --git a/usr/bin/qed b/usr/bin/qed |
25 | index e8408f2..b9e82e5 100755 |
26 | --- a/usr/bin/qed |
27 | +++ b/usr/bin/qed |
28 | @@ -34,6 +34,8 @@ newFileEdit(){ |
29 | ) |
30 | |
31 | |
32 | + [[ -d $markfile ]] && echo -e "\n\e[31;1m[-] Error: $markfile is a directory, not a file!\e[0m" && exit 1 |
33 | + |
34 | [[ ! -f $markfile ]] && echo -e "\n\e[31;1m[-] File does not exist!\e[0m\n" && exit 1 |
35 | |
36 | [[ -f $markfile ]] && markfile=`realpath $markfile` && getSlot |