From 04c6b7d2c41268a5459cd2a7df6f5da2c378fb8b Mon Sep 17 00:00:00 2001 From: qo-op Date: Wed, 29 Apr 2020 22:19:35 +0200 Subject: [PATCH] Open file with xed --- tip.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tip.sh b/tip.sh index 82c6117..2b6a72b 100755 --- a/tip.sh +++ b/tip.sh @@ -512,6 +512,9 @@ then printf "It's a file.\n\n" if [[ $readable -eq 1 ]]; then sleep 2; fi printf "It's called $msg_filename.md\n\n" + # Open file with xed + [[ $(which xed) ]] && xed ~/$msg_filename.md & + else printf "It's %s files.\n\n" "${#tyPosts[@]}" if [[ $readable -eq 1 ]]; then sleep 2; fi