summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2011-12-09Fix a few completion problemsJohn Southworth
1. Bug 7674: adjust shopt such that nullglob won't change non-comps that have special formatting. 2. Fix problem with default completion not working properly when using the same string i.e. 'sh sh' for 'show shutdown' couldn't complete 'shutdown' until 'sh shu' was typed.
2011-11-01Bugfix 7603: add reset top level to allowed list for operator usersJohn Southworth
2011-10-27Cleanup background monitor sessions on logoutJohn Southworth
(cherry picked from commit 269c88bff20c49876e5780dd8bf379e3d1fe1601)
2011-10-27Update operator level user top level commands to reflect changes in the ↵John Southworth
command structure (cherry picked from commit 55b60fa024e3a19e8e8cddeb218db3a1291efdff)
2011-10-17Make directory completions, if it is the first word of the completion, work ↵John Southworth
so that users can easily find scripts they may be trying to run.
2011-10-11Fix ambiguous error text so that it doesn't show node.def, generate the ↵John Southworth
completions using compgen -d
2011-10-07Fix completions for templates using custom completion functions (currently ↵John Southworth
image tools)
2011-10-06Bugfix 6747: use bash conditional expressions instead of posix test ↵John Southworth
expressions when doing comparisons. The conditional expressions don't do as much expansion as the test expression does, and are the modern variant
2011-10-06Make operational mode completion when the user enters an unknown prefix on a ↵John Southworth
tag node consistent with configuration mode
2011-10-06fix help text printing when the command is runnableJohn Southworth
2011-10-06Fix: first word completions; empty completions on tag nodes, if there is a ↵John Southworth
tag node there should always be at least a non-comp so that the help text will be displayed; invalid completions in the middle of the string
2011-10-05fix stuck completion on non-lastwordJohn Southworth
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-03Generate unpriviledged allowed-op at compile time. Add script to allow admin ↵John Southworth
user to regenerate it if needed. Fix ambiguous command message.
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-27Bugfix 7380: fix pager exceptions regex.John 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.