summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 05:17:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 05:17:56 +0000
commit8eb73d50c04d29d8d50db26ff0b0071353c1ca8c (patch)
tree6099af5c04bc5f0aef009f771f1982583cc27c41 /debian
parentAdding internal preseed option to select os identification. (diff)
downloadbase-files-8eb73d50c04d29d8d50db26ff0b0071353c1ca8c.tar.xz
base-files-8eb73d50c04d29d8d50db26ff0b0071353c1ca8c.zip
Adding bashrc for Progress Linux.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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