diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-07-26 20:14:42 -0700 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-07-26 20:14:42 -0700 |
commit | bd286545834812d45081c8843bca1722f7354bab (patch) | |
tree | 55b593f80700e41c406859fcb19b0b171fd655c4 | |
parent | 90c5d2b262abfaf093fe9f32cd60c719bcf30ac1 (diff) | |
download | vyatta-op-bd286545834812d45081c8843bca1722f7354bab.tar.gz vyatta-op-bd286545834812d45081c8843bca1722f7354bab.zip |
Bugfix 5611: Set prompt for operator level users to be similar to other vendors
-rw-r--r-- | etc/bash_completion.d/vyatta-op | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/bash_completion.d/vyatta-op b/etc/bash_completion.d/vyatta-op index 88f8406..0420c23 100644 --- a/etc/bash_completion.d/vyatta-op +++ b/etc/bash_completion.d/vyatta-op @@ -566,6 +566,10 @@ fi _vyatta_op_init $@ +if [[ "VYATTA_USER_LEVEL_DIR"=="/opt/vyatta/etc/shell/level/users" ]]; then + PS1='\u@\h> ' +fi + ### Local Variables: ### mode: shell-script ### End: |