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