mirror of
https://github.com/EV21/uberspace-helper.git
synced 2026-10-08 04:43:18 +02:00
Compare commits
2
Commits
942c2f31f0
...
3e8165f574
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e8165f574
|
||
|
|
26d706b7de
|
@@ -252,11 +252,16 @@ end_of_content
|
|||||||
function install_ncc
|
function install_ncc
|
||||||
{
|
{
|
||||||
touch ~/bin/ncc
|
touch ~/bin/ncc
|
||||||
cat << 'end_of_content' > ~/bin/ncc
|
cat << end_of_content > ~/bin/ncc
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
php ~/html/occ "$@"
|
exec php /var/www/virtual/\$USER/html/occ "\$@"
|
||||||
end_of_content
|
end_of_content
|
||||||
chmod u+x ~/bin/ncc
|
chmod u+x ~/bin/ncc
|
||||||
|
|
||||||
|
ncc _completion --generate-hook --program=ncc > ~/_nextcloud_completion
|
||||||
|
echo "source \$HOME/_nextcloud_completion" >> ~/.bash_profile
|
||||||
|
# shellcheck source=/dev/null
|
||||||
|
source ~/.bash_profile
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_nextcloud_updater
|
function install_nextcloud_updater
|
||||||
|
|||||||
Reference in new issue
Block a user