Open file with xed

This commit is contained in:
qo-op 2020-04-29 22:19:35 +02:00
parent 3519cb29e9
commit 04c6b7d2c4
1 changed files with 3 additions and 0 deletions

3
tip.sh
View File

@ -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