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