summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-07 04:12:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-07 04:12:50 +0000
commitde191ae8f2ebc5ca1ed9b88a95f36e42f83c76ac (patch)
tree89687706c01b92e05ab3390daa12487307d07478
parentAdding lsb release file for Progress Linux 6 (fuchur). (diff)
downloadbase-files-de191ae8f2ebc5ca1ed9b88a95f36e42f83c76ac.tar.xz
base-files-de191ae8f2ebc5ca1ed9b88a95f36e42f83c76ac.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 93be954..13042fa 100644
--- a/debian/base-files.install
+++ b/debian/base-files.install
@@ -3,5 +3,6 @@ debian/local/base-files/issue.net /etc
debian/local/base-files/motd /usr/share/base-files
debian/local/base-files/os-release /etc
debian/local/base-files/progress-linux_version /etc
+debian/local/bash/dot.bashrc /usr/share/base-files
debian/local/dpkg/progress-linux /etc/dpkg/origins
debian/local/lsb-release/lsb-release /etc
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