summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 18:23:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 18:23:04 +0000
commit8e4e804f6261632deaf1ba3ffe51c4e60e0cbe44 (patch)
tree36b4236efb34ce7b2ba95ae2795469b43514da72
parentAdding internal preseed option to select os identification. (diff)
downloadbase-files-8e4e804f6261632deaf1ba3ffe51c4e60e0cbe44.tar.xz
base-files-8e4e804f6261632deaf1ba3ffe51c4e60e0cbe44.zip
Adding bashrc for Progress Linux.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/base-files.install1
-rw-r--r--debian/local/bash/dot.bashrc18
2 files changed, 19 insertions, 0 deletions
diff --git a/debian/base-files.install b/debian/base-files.install
index 94b79b5..171c4a6 100644
--- a/debian/base-files.install
+++ b/debian/base-files.install
@@ -5,3 +5,4 @@ debian/local/base-files/os-release /usr/share/base-files/progress-linux
debian/local/base-files/progress-linux_version /usr/share/base-files/progress-linux
debian/local/dpkg/progress-linux /usr/share/base-files/progress-linux
debian/local/lsb-release/lsb-release /usr/share/base-files/progress-linux
+debian/local/bash/dot.bashrc /usr/share/base-files
diff --git a/debian/local/bash/dot.bashrc b/debian/local/bash/dot.bashrc
new file mode 100644
index 0000000..89d096c
--- /dev/null
+++ b/debian/local/bash/dot.bashrc
@@ -0,0 +1,18 @@
+# ~/.bashrc: executed by bash(1) for non-login shells.
+# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
+# for examples
+
+# If not running interactively, don't do anything
+case $- in
+ *i*) ;;
+ *) return;;
+esac
+
+# Alias definitions.
+# You may want to put all your additions into a separate file like
+# ~/.bash_aliases, instead of adding them here directly.
+# See /usr/share/doc/bash-doc/examples in the bash-doc package.
+
+if [ -f ~/.bash_aliases ]; then
+ . ~/.bash_aliases
+fi