dotfiles/dot_config/fish/private_functions/private_nclaunch.fish

9 lines
245 B
Fish
Raw Normal View History

2021-08-10 10:50:48 +02:00
# Defined interactively
function nclaunch
echo "checking for nextcloud"
if [ (ps aux | grep /Applications/nextcloud.app/Contents/MacOS/nextcloud | wc -l) -eq "1" ]
echo "Launching Nextcloud"
open -a Nextcloud
end
end