Open file with xed
This commit is contained in:
parent
3519cb29e9
commit
04c6b7d2c4
3
tip.sh
3
tip.sh
|
@ -512,6 +512,9 @@ then
|
||||||
printf "It's a file.\n\n"
|
printf "It's a file.\n\n"
|
||||||
if [[ $readable -eq 1 ]]; then sleep 2; fi
|
if [[ $readable -eq 1 ]]; then sleep 2; fi
|
||||||
printf "It's called $msg_filename.md\n\n"
|
printf "It's called $msg_filename.md\n\n"
|
||||||
|
# Open file with xed
|
||||||
|
[[ $(which xed) ]] && xed ~/$msg_filename.md &
|
||||||
|
|
||||||
else
|
else
|
||||||
printf "It's %s files.\n\n" "${#tyPosts[@]}"
|
printf "It's %s files.\n\n" "${#tyPosts[@]}"
|
||||||
if [[ $readable -eq 1 ]]; then sleep 2; fi
|
if [[ $readable -eq 1 ]]; then sleep 2; fi
|
||||||
|
|
Loading…
Reference in New Issue