]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: definitions from ~/.bashrc, specific prompt
authorprascle <prascle>
Sat, 15 Oct 2005 10:21:16 +0000 (10:21 +0000)
committerprascle <prascle>
Sat, 15 Oct 2005 10:21:16 +0000 (10:21 +0000)
bin/appliskel/.basrhc [new file with mode: 0644]

diff --git a/bin/appliskel/.basrhc b/bin/appliskel/.basrhc
new file mode 100644 (file)
index 0000000..ab711e0
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# If not running interactively, don't do anything:
+[ -z "$PS1" ] && return
+
+# keep original settings (debian)
+. ~/.bashrc
+
+# prefix prompt with naming server hostname and port
+export PS1='[NS='${NSHOST}':'${NSPORT}']'${PS1}