ricardogj08/dotfiles

feat: Agrega configuración mínima para bash

Commit 5aabbf3 · Ricardo García Jiménez · 2026-07-05T13:34:30-06:00

Changeset
5aabbf3f08925da0361812ddf0ac1e01e8aefc71
Parents
9a593e2e06daf08ad2a9247a2f96eeee517032f0

View source at this commit

feat: Agrega configuración mínima para bash

Signed-off-by: Ricardo García Jiménez <[email protected]>

Comments

No comments yet.

Log in to comment

Diff

diff --git a/Bash/bash_profile b/Bash/bash_profile
new file mode 100644
index 0000000..a8204b5
--- /dev/null
+++ b/Bash/bash_profile
@@ -0,0 +1,9 @@
+# Carga la configuración global.
+if [ -r /etc/profile ]; then
+  . /etc/profile
+fi
+
+# Carga la configuración local.
+if [ -r "$HOME/.bashrc" ]; then
+  . "$HOME/.bashrc"
+fi
diff --git a/Bash/bashrc b/Bash/bashrc
new file mode 100644
index 0000000..b966c7f
--- /dev/null
+++ b/Bash/bashrc
@@ -0,0 +1,8 @@
+# Carga la configuración global.
+if [ "$TERM" != linux ] && [ -r /etc/profile ]; then
+  . /etc/profile
+fi
+
+# Variables de entorno.
+export TERMINAL=st
+export EDITOR=nano