summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d/vyatta-op
AgeCommit message (Collapse)Author
2011-10-05Make non-lastword completions more fluid by using the current prefix and ↵John Southworth
word provided by bash
2011-10-04Fix a bug in op mode handling of non sticking completions, we want the help ↵John Southworth
text if the current completion is empty for consistency
2011-10-04Fix top level completions when there are already words on the lineJohn Southworth
2011-10-04Alert users when they have entered a completion that doesn't match.John Southworth
2011-10-03Make completion properly handle non-last-word completionsJohn Southworth
2011-10-03Make completions not get stuck when backspacing over a character in the last ↵John Southworth
word, so the only compreply now contains the current word but is not equal to the current word
2011-09-30Stop completions from getting stuck on nodes when backspacing to themJohn Southworth
2011-09-30Always attempt to set the node path, this gives us a chance to fail on ↵John Southworth
invalid or ambiguous commands with out waiting for the user to hit tab twice
2011-09-30Fix output of invalid and ambiguous error messagesJohn Southworth
2011-09-30Fix typo in previous commitJohn Southworth
2011-09-30Add some useful debugging to the comps script, it can be enabled on the fly ↵John Southworth
via an environment variable
2011-09-30Fix problem with recovering from invalid completionJohn Southworth
2011-09-30fix handleing of invalid commands when there is an the parent node is runnableJohn Southworth
2011-09-30Reformat vyatta-op script, there were two indentation styles, changed from ↵John Southworth
tabs to spaces
2011-09-30Inform users of invalid or ambiguous commands at completion timeJohn Southworth
2011-09-30If there are no completions then always show the non-completions, this gets ↵John Southworth
rid of the empty tab completions
2011-09-07Fix some problems with the completion scriptsJohn Southworth
1. we don't need to call compopt -o filenames explicitly anymore the bash-completion scripts from the debian package do this more intelligently. 2. Restore shopts before running the command so that if the command is terminated with ctrl-c they will be set properly.
2011-08-31Fix completion for user wildcardsJohn Southworth
2011-08-17Bugfix 7442: Check if running interactively before doing binding optionsJohn Southworth
2011-08-09Silence another keybinding error when running from config modeJohn Southworth
2011-08-02Add support for unambiguous top level commands for unpriviledged usersJohn Southworth
2011-08-02Reorganize the bash completion and command interpreter scripts into easier ↵John Southworth
to manage chunks. vyatta-op-run no longer exists in /etc/bash_completion.d/ as it is not a completion script it should not be here
2011-08-01Only show operator users the top level commands they are allowed to execute ↵John Southworth
in tab complete
2011-07-29Bugfix 2823: Operational mode command interpreterJohn Southworth
2011-07-26Bugfix 5611: Fix a typo in the shell level checkJohn Southworth
2011-07-26Bugfix 5611: Set prompt for operator level users to be similar to other vendorsJohn Southworth
2011-07-12silence warnings when sourcing this script non-interactivelyJohn Southworth
(cherry picked from commit 751b30e1bb85e541352cc563a7caf18bca46ffaa)
2011-06-28Don't guide disk-install files to /config as it doesn't exist. fix file ↵John Southworth
detection for disk-install
2011-06-28Add a disk-install uri for old disk based installs in image toolsJohn Southworth
2011-05-13Only show directories in top level completion because installed systems have ↵John Southworth
more in their /boot directories
2011-04-23Initial addition of image op mode toolsJohn Southworth
2011-01-17fix for bug 6476.Michael Larson
2010-12-14provide default filename completionAn-Cheng Huang
2010-12-01Add default command completionStephen Hemminger
This fixes the case of $se<TAB>
2010-11-30Use new bash completion for empty commandStephen Hemminger
Bug 6401 Use the new bash 4.1 completion for empty top level command
2010-11-24Rename 10vyatta-op to vyatta-opStephen Hemminger
Bug 6302 Rename vyatta-op completion script so it runs after others to avoid conflict with set alias. Other scripts after 'v' in alphabet do not use set.
2007-10-31rename bash completion script to enforce ordering.An-Cheng Huang
2007-10-11Simplify things by separating run and expansion mode command line scans.Tom Grennan
Also, only show matching and wild-card help entries with partially completed command arguments.
2007-10-05fix completion of nodes with wild card and named argsTom Grennan
(i.e "set")
2007-10-05Use empty or missing "allowed:" fields in node.tag/node.def as wildTom Grennan
cards rather than "echo -n --". Also, discoverd a way to use an apparently blank line in help completion.
2007-10-04don't eval help string; so, no longer needs to be quoted in node.def filesTom Grennan
2007-10-03replace for loop in allowed search with shell var expansionTom Grennan
2007-10-03quote help string evaluation to allow use of special chars like [] in stringTom Grennan
2007-10-02allow wildcard with specfied listTom Grennan
can use this to complete a list of hostnames plus allow given unknown host or IP
2007-10-02cleanup the help pseudo-completion strings used as line separatorTom Grennan
2007-10-02beautify help message with extra long completion tagsTom Grennan
2007-10-02quote the evaled allowed value commandTom Grennan
2007-10-01donot complete wildcards (--)Tom Grennan
and fix Alt-= TAB w/ show-all-if-ambiguous
2007-09-24donot change user prompt in this packageTom Grennan
2007-09-24op-mode completion: cleaned up usage of global node_def variable.An-Cheng Huang