mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-23 06:58:04 +01:00
9 lines
245 B
Fish
9 lines
245 B
Fish
|
# 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
|