diff options
| author | Yigit Sever | 2024-11-11 15:34:42 +0100 |
|---|---|---|
| committer | Yigit Sever | 2024-11-11 15:34:42 +0100 |
| commit | 456b2551875f646d70e255785b063d78b3ec9320 (patch) | |
| tree | d98cd3a6c6fc454251f06a52d884caa8c5384037 | |
| parent | f32ae136fa0735a6fac4a6e45473da49f22d7ba3 (diff) | |
| download | dotfiles-456b2551875f646d70e255785b063d78b3ec9320.tar.gz dotfiles-456b2551875f646d70e255785b063d78b3ec9320.tar.bz2 dotfiles-456b2551875f646d70e255785b063d78b3ec9320.zip | |
nuke: play nice with glow (markdown)
| -rwxr-xr-x | .local/bin/nuke | 2 |
1 files changed, 1 insertions, 1 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" |
