b5dece2d49
Make sure environment variables are correctly set in X session
...
Definitions should appear in .xsessionrc, as per Xsession(5). This is a Bourne
shell script, thus bashisms are not allowed here, narf. So we move our common
variable definitions out into ~/.profile and source that from .xsessionrc and
.bashrc. Another layer of complexity added, dumb.
2021-02-20 10:09:44 +01:00
86ded865f6
Update colors of bash prompt
...
It's more similar to the ZSH prompt now.
2020-08-22 16:49:01 +02:00
2bf8c6a932
Add more options to bashrc
...
Tried to learn what these options are doing, and added some that I found useful.
2020-08-22 16:39:44 +02:00
7f12f001c0
Move custom shell functions to common file
...
This allows to use the functions in both zsh and bash (and everywhere
where bash is understood).
2020-08-02 17:01:23 +02:00
cedb09ef1b
Remove unused variable in bashrc
2020-07-25 17:10:09 +02:00
fdf1f4e9ea
Consistently use [[ … ]] in .bashrc
2020-07-25 17:09:58 +02:00
e1712d710c
Replace whitespace with separators in bash prompt
2020-07-25 17:08:19 +02:00
4db3c8d5f9
Remove redundant modeline from bashrc
2020-07-25 15:46:54 +02:00
645959cdf6
Make bash prompt more colorful
...
As a side effect, bashrc is now also shellcheck clean :)
2020-07-25 15:42:16 +02:00
daa67974bf
Fix issues reported by shellcheck
2020-07-25 12:25:06 +02:00
4b73aa626d
Make bashrc to be recognized as bash
2020-07-25 12:20:19 +02:00
7fa90bc2c2
Fix duplicate check for interactive bash
2020-07-25 12:20:11 +02:00
5ad5e32b9f
Do not distinguish between login and non-login bash
...
I.e., move all bash related configuration to bashrc, and call it from
bash_profile. This should make things easier, I hope.
2020-07-25 12:16:23 +02:00
a70ea065b9
Add git information to bash prompt
2020-07-25 11:58:18 +02:00
4e2164d2db
Make dumb prompt more informative
...
This should still work with Emacs' TRAMP, but is more informative.
2020-07-25 11:46:18 +02:00
fed4dc8d38
Move custom bash keybindings to separate inputrc
...
When bash is started without readline support, redefining bindings in .bashrc
yields warnings. This is the case when starting bash as in Emacs' shell-mode,
among others. Moving the keybindings to inputrc fixes this, and should make the
bindings available to all programs using readline.
2020-07-25 11:45:08 +02:00
78a9fc3f8c
Simplify bash prompt when terminal is dumb
2020-01-03 18:54:39 +01:00
be5b07d9d1
Update prompt definition for bash
2019-06-01 21:45:25 +02:00
e6125a72e8
Enable extglob in bash
2018-07-15 10:41:58 +02:00
e6886b6fc4
Cleaning up bash startup files
2018-07-15 10:24:42 +02:00
f7f9c1b48b
Some fundamental configuration files
2018-07-15 09:47:03 +02:00