aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-12-13 03:56:15 -0300
committerEuAndreh <eu@euandre.org>2023-12-13 03:56:15 -0300
commit455e5ef28cafddb8c5a4bf9d38817377bb0c2b1f (patch)
tree557f080fcee965e1b32efc63c320c86868d6a6c7
parentetc/ssh/config.tmpl: Add lawtech alias (diff)
downloaddotfiles-455e5ef28cafddb8c5a4bf9d38817377bb0c2b1f.tar.gz
dotfiles-455e5ef28cafddb8c5a4bf9d38817377bb0c2b1f.tar.xz
etc/sh/rc: Move "ulimit -c unlimited" to Bash-specific section
-rw-r--r--etc/sh/rc5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index 10158e1..88d5605 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -3,8 +3,6 @@
export ENV=~/.profile
-ulimit -c unlimited
-
export XDG_DATA_DIRS="$XDG_DATA_HOME/flatpak/exports/share:/var/lib/flatpak/exports/share${XDG_DATA_DIRS:+:}${XDG_DATA_DIRS:-}"
@@ -491,6 +489,9 @@ if [ -z "$BASH_VERSION" ]; then
return
fi
+# shellcheck disable=3045
+ulimit -c unlimited
+
ln -fs .profile ~/.bashrc
export INPUTRC="$XDG_CONFIG_HOME/bash/inputrc"