From: prascle Date: Sat, 15 Oct 2005 10:21:16 +0000 (+0000) Subject: PR: definitions from ~/.bashrc, specific prompt X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=80858e71dc16dc6d67a5836f59c3f5b84cd2d76d;p=modules%2Fkernel.git PR: definitions from ~/.bashrc, specific prompt --- diff --git a/bin/appliskel/.basrhc b/bin/appliskel/.basrhc new file mode 100644 index 000000000..ab711e036 --- /dev/null +++ b/bin/appliskel/.basrhc @@ -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}