summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d/vyatta-op
diff options
context:
space:
mode:
Diffstat (limited to 'etc/bash_completion.d/vyatta-op')
-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: