Commit graph

10 commits

Author SHA1 Message Date
02ca961623 bin: rename colorman -> ,man 2021-07-22 16:20:37 +02:00
e988871cba bash: only export MANPATH if manpath(1) is available 2021-07-07 01:18:07 +02:00
9c4c579938 bash: improve operating system detection
The -s flag to `uname` makes sure that only the string "Darwin" is
printed, so the comparison is safer.
2021-02-25 19:41:34 +01:00
e5f4c25593 bash: shorten PATH manipulation 2021-02-25 19:39:59 +01:00
8fb66ffa6c bash: render prompt in the same color as separators 2021-02-23 17:27:53 +01:00
f1ba6be31c bash: exa: only ignore .git directory when showing tree 2021-02-23 17:26:31 +01:00
4e29ff39e7 bash: fix LS_COLORS
The solarize script evalss the output of the dircolors(1) but the
LS_COLORS variable gets exported in its environmnent, not the calling
shell where we actually need it so ls(1) and other programs wiill
inherit it.

Therefore, the evaluation of the dircolors(1) output is moved to the
change_bg() function in the shell, so that the LS_COLORS variable is
available to any children of the shell.

The reason why I had missed this is that in most systems I have ls
aliased to exa, which does not care about LS_COLORS and has its own
coloring system. On cygwin, however, exa is not available and I noticed
that the colors were missind; and indeed, on systems with exa the colors
are also missing if I run ls as \ls.
2021-01-05 18:02:40 +01:00
3ad4f7d72b vim: replace vim with neovim 2021-01-03 23:37:13 +01:00
c141e51b66 bash: check for brew after PATH manipulation 2021-01-03 22:19:52 +01:00
b16ca6a626 replace ansible with bootstrap script 2021-01-03 17:24:48 +01:00
Renamed from roles/dotfiles/files/bashrc (Browse further)