From bd286545834812d45081c8843bca1722f7354bab Mon Sep 17 00:00:00 2001 From: John Southworth Date: Tue, 26 Jul 2011 20:14:42 -0700 Subject: Bugfix 5611: Set prompt for operator level users to be similar to other vendors --- etc/bash_completion.d/vyatta-op | 4 ++++ 1 file changed, 4 insertions(+) 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: -- cgit v1.2.3