-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Bash completion #35451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
RonaldBarnes
wants to merge
47
commits into
nextcloud:master
Choose a base branch
from
RonaldBarnes:bash-completion
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Bash completion #35451
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
1d5e938
Auto TAB completion for bash using alias for occ.
RonaldBarnes 18f445d
Updated copyright per Contribution guidelines.
RonaldBarnes 102052e
Resolved requested changes to PR.
RonaldBarnes 8e87648
Resolved one more comment deletion, per PR change request(s).
RonaldBarnes 56dfa43
Changed getHttpdUser to searchHttpdUser through-out, per PR change re…
RonaldBarnes 8de4ac1
Revised per pull request comment https://github.com/nextcloud/server/…
RonaldBarnes 8e99a60
Reset COMP_WORDBREAKS to original value when finished.
RonaldBarnes 2d091e2
Add quotes around COMP_WORDBREAKS, else unexpected behaviour.
RonaldBarnes 2aa4940
Fixed adding '-vv' option to array: remnant overlooked in commit a86a…
RonaldBarnes 2751eaa
Added more web server user names.
RonaldBarnes 8ea5a98
Add user_id to completions.
RonaldBarnes 7825a8f
Web server lighthttp user name is fixed to lighttpd.
RonaldBarnes aed5edd
Added Usage: and remove unused debugging.
RonaldBarnes c3a8470
Added user_id, app, lang, and file system completions.
RonaldBarnes d9ae83d
Changed all functions to have '_occ_' prefix.
RonaldBarnes 3955590
Specify type of entity being 'unset'.
RonaldBarnes e8e8e78
Changed ownership test to file config/config.php, not ./occ
RonaldBarnes 7eaeb9d
Added colour to filename when ownership mis-match.
RonaldBarnes 0d650f7
If no ~/.bash_aliases, then offer to create /etc/profile.d/occ instead.
RonaldBarnes 6ddaf0f
Offer to add alias to /etc/bash.bashrc as well as ~/.bash_aliases
RonaldBarnes efa1dc3
Option to add completion script to ~/.local/share/bash-completion/com…
RonaldBarnes 3fa70e7
If no ~/.bash_aliases, offer to append to ~/.bashrc instead of /etc/b…
RonaldBarnes b23f709
Updated documentation / usage.
RonaldBarnes b9a4081
Added more web server user names, per https://docs.nextcloud.com/serv…
RonaldBarnes 161c000
Added @author, reformatted @copyright.
RonaldBarnes f720c72
Refactored: removed all global persistence options, stores alias to ~…
RonaldBarnes f6bbefa
Changed completion script destination directory to /etc/bash_completi…
RonaldBarnes a3c98c0
Renamed complete.occ to occ.bash
RonaldBarnes 23fb524
Typo in usage section.
RonaldBarnes c78dc3c
Restored chown and chmod on /etc/bash_completion.d/occ.bash
RonaldBarnes 0faf097
NextCloud to Nextcloud, camel case to snake case: phpFound to php_found
RonaldBarnes 7eb851a
Switched back to ~/.local/share/bash-completion/completions/ as the t…
RonaldBarnes 191e1d9
Cleaned up TRAPs; works better with 'read' aka 'readline'.
RonaldBarnes 4b302d1
Added support for 'occ config:...': handles 'app' and 'system', 'get'…
RonaldBarnes 653ded6
Option to regenerate alias if existing one found (helpful if multiple…
RonaldBarnes cfb1720
Consistent use of double vs single quotes.
RonaldBarnes 525f737
Changed target for occ.bash to user's ~/.local/share/bash-completion/…
RonaldBarnes f53b3d6
Allow occ.bash to operate from multiple aliases for admins with multi…
RonaldBarnes 8be0fbc
Check for uid as well as user_id (dav:list-calendars: uid; files-scan…
RonaldBarnes 0074f5b
Removed line of debug code.
RonaldBarnes a8248da
Changed mode to non-executable: must be sourced for alias to persist …
RonaldBarnes 295dfc7
Renamed script to more descriptive name and updated internal usage.
RonaldBarnes 06761f4
Handle 'dav:move-calendar name sourceuid destinationuid'.
RonaldBarnes 0f4dcb1
Added two script files to build/files-checker.php
RonaldBarnes 5b6b3c3
Changed references to 'bash-add-alias.sh' to 'bash-tab-completion-occ…
RonaldBarnes a9eba83
Indentation was off; spaces not tabs.
RonaldBarnes aa0962d
Updated documentation for multi-host, multi-alias environments.
RonaldBarnes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Resolved requested changes to PR.
Signed-off-by: Ronald Barnes <[email protected]>
- Loading branch information
commit 102052eab2eafa33c464a5e749dc6ef023ded887
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.