From 959b0b111d04e05fda016194c293a3c7ce3a68fd Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 21 May 2023 23:14:42 +0200 Subject: T5234: add bash prompt identifier for given VRF instance --- src/etc/skel/.profile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/etc/skel/.profile (limited to 'src/etc/skel/.profile') diff --git a/src/etc/skel/.profile b/src/etc/skel/.profile new file mode 100644 index 000000000..c9db45918 --- /dev/null +++ b/src/etc/skel/.profile @@ -0,0 +1,22 @@ +# ~/.profile: executed by the command interpreter for login shells. +# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login +# exists. +# see /usr/share/doc/bash/examples/startup-files for examples. +# the files are located in the bash-doc package. + +# the default umask is set in /etc/profile; for setting the umask +# for ssh logins, install and configure the libpam-umask package. +#umask 022 + +# if running bash +if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi -- cgit v1.2.3