diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/nuke | 2 | ||||
-rwxr-xr-x | .local/bin/sentences | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/nuke b/.local/bin/nuke index e7da6b6..e2925b6 100755 --- a/.local/bin/nuke +++ b/.local/bin/nuke | |||
@@ -227,7 +227,7 @@ handle_extension() { | |||
227 | ## Markdown | 227 | ## Markdown |
228 | md) | 228 | md) |
229 | if type glow >/dev/null 2>&1; then | 229 | if type glow >/dev/null 2>&1; then |
230 | glow -sdark "${FPATH}" | eval "$PAGER" | 230 | glow -p "${FPATH}" |
231 | exit 0 | 231 | exit 0 |
232 | elif type lowdown >/dev/null 2>&1; then | 232 | elif type lowdown >/dev/null 2>&1; then |
233 | lowdown -Tterm "${FPATH}" | eval "$PAGER" | 233 | lowdown -Tterm "${FPATH}" | eval "$PAGER" |
diff --git a/.local/bin/sentences b/.local/bin/sentences index 146fd2c..750072e 100755 --- a/.local/bin/sentences +++ b/.local/bin/sentences | |||
@@ -3,7 +3,7 @@ | |||
3 | use strict; | 3 | use strict; |
4 | 4 | ||
5 | my $pont = qr{[.!?]+}; ## punctuation | 5 | my $pont = qr{[.!?]+}; ## punctuation |
6 | my $abrev = qr{\b(?:Pr|Dr|Mr|[A-Z]|i\.e|e\.g|et al|etc|p|Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\.}; ## abbreviations | 6 | my $abrev = qr{\b(?:Pr|Dr|Mr|[A-Z]|i\.e|e\.g|et al|etc|p|Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec|vs)\.}; ## abbreviations |
7 | my $header = qr{(=+ .*? =+)}; | 7 | my $header = qr{(=+ .*? =+)}; |
8 | 8 | ||
9 | $/ = ""; | 9 | $/ = ""; |