summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-07-26 20:14:42 -0700
committerJohn Southworth <john.southworth@vyatta.com>2011-07-26 20:14:42 -0700
commitbd286545834812d45081c8843bca1722f7354bab (patch)
tree55b593f80700e41c406859fcb19b0b171fd655c4
parent90c5d2b262abfaf093fe9f32cd60c719bcf30ac1 (diff)
downloadvyatta-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-op4
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: