Commit graph

476 commits

Author SHA1 Message Date
b8807ca1de zsh: save history in cache directory 2021-08-09 18:48:24 +02:00
e97ba8c079 profile: fix man colors
The end sequence was undefined and messing up everything. I took the
opportunity, while fixing it, to tweak a bit the colors themselves and a
definition for blinking text matching bold text.
2021-08-09 18:36:31 +02:00
293ba908c3 zsh: fix sourcing of extra files 2021-08-09 17:41:12 +02:00
0331f815a3 profile: fix check for manpath (1)
The [ got introduced in the refactoring and caused the setting of
MANPATH to never happen.
2021-08-09 13:58:32 +02:00
a1614ab1ce profile: factor out color definitions again
With the color definitions being in profile, non-login shells don't get
the definitions. So out they go back to their own file.
2021-08-09 12:44:25 +02:00
ad9b5e0a77 bootstrap: allow chained symlinks 2021-08-09 11:27:09 +02:00
5f22148d5a bootstrap: minor refactor 2021-08-09 00:40:51 +02:00
380b4556ff bootstrap: remove .sh ending where not needed 2021-08-09 00:38:07 +02:00
7c1c371dc9 bootstrap: invert src and dest of DOTFILES for readability 2021-08-09 00:26:11 +02:00
95fef2c20a bootstrap: link files in ~/.config first
The reason for this is so that I can link from the home directory to the
files into ~/.config for files that need to be in the home directory
(e.g., .bash_profile, .zprofile, .jupyter/*, etc.)
2021-08-09 00:18:58 +02:00
ef1142e992 bashrc/zshrc: undefine stop control character with stty 2021-08-09 00:03:16 +02:00
37a8a8f5e9 environ: highlight env var values rather than names 2021-08-09 00:00:00 +02:00
a6f51c9be3 bin: remove comma from my scripts
The leading comma seemed like a good idea to namespace my commands but
in practice in turned out to just be annoying and not provide any real
benefits. So down with the comma...
2021-08-08 23:56:17 +02:00
3aae198ce5 bin: remove tmux wrapper script
Going back to the alias solution, which works for both bash and zsh, to
avoid having to search through the path for the real tmux after I remove
the leading comma from my custom command names.
2021-08-08 23:52:11 +02:00
4dd83006bc bin: remove need to man wrapper
Instead of wrapping man (1), I just export the LESS_TERMCAP_* variables
into the environment. This achieves the same thing as the wrapper
script, with the added benefit that less (1) will use the configured
colors in any of its invocations, not only via the wrapper script.
2021-08-08 23:46:15 +02:00
b2b712c67b profile: move color definitions into profile 2021-08-08 23:43:52 +02:00
09534e15d0 profile: check for neovim after PATH manipulation
The reason is that neovim might be installed in one of the paths added
during the manipulation (e.g., for some reason neovim was installed
under ~/.local/bin).
2021-08-08 23:36:23 +02:00
cf01371f00 zsh: adjust profile/.zshenv for zsh and add .zshrc 2021-08-07 02:27:20 +02:00
a52bc02768 bash: get rid of ~/.profile 2021-08-07 02:00:55 +02:00
4ea59a778d bootstrap: better handling of dry run 2021-08-07 01:33:55 +02:00
9b3bc72eaf bash: factor out profile and aliases
This is a preparation to start experimenting with zsh. The idea is to
share the aliases and environment setup between both shells to avoid
having a bunch of duplication. Even if I decide to stick with zsh it
would be nice to keep the bash configs around for systems where I might
not want to install zsh for some reason. We'll see how this goes...
2021-08-07 01:33:26 +02:00
d550659828 alacritty: invoke bash with --login 2021-08-07 00:52:59 +02:00
26fa7131ae vim: show partial results as I type commands 2021-08-06 23:30:57 +02:00
21844ac96a vim: add mapping to move lines up and down 2021-08-02 01:45:36 +02:00
1abb2f9597 alacritty: make alt/option usable on macOS 2021-08-02 01:43:13 +02:00
300fef2ac2 alacritty: make background opaque 2021-08-01 17:32:01 +02:00
d5be6cd996 alacritty: make character under cursor visible
Using the block cursor was hiding the character under the cursor because
I had set the cursor text color to the same as the cursor itself. This
commit fixes that.
2021-08-01 12:56:31 +02:00
083ac8d90e vim: improve status line 2021-07-30 18:23:34 +02:00
3012a2757a Fix minor typos 2021-07-30 13:17:25 +02:00
14a8260771 vim: tweak statusline 2021-07-28 01:06:19 +02:00
be3e854f7e alacritty: bump up font size a bit 2021-07-27 23:30:53 +02:00
5d10202121 Remove support for light background
I never seemed to used and the complexity added by this was a bit
annoying.
2021-07-27 23:28:48 +02:00
29561f9852 bin: add simple terminal theme generator 2021-07-27 15:41:43 +02:00
f1ffa412f5 mintty: use bold font and line cursor 2021-07-27 14:54:33 +02:00
a377da1ab9 mintty: use solarized dark (static config) 2021-07-27 14:47:01 +02:00
187bc36cdf alacritty: use solarized dark (static config) 2021-07-27 14:46:35 +02:00
39417823fe solarize: remove useless eval
No point in this eval, as it will not affect the environment of the
calling shell.
2021-07-26 19:23:56 +02:00
a75ea8ee8e solarize: minor refactor
The underscores are an artifact of when this script used to be part of
the bash profile and I didn't want the variables to be exposed too much.
This is no longer relevant.
2021-07-26 18:19:33 +02:00
6a7a82e87b vim: disable concealment for json files 2021-07-23 19:37:52 +02:00
4a5fc4d54b jupyter: enable line numbers 2021-07-23 15:52:58 +02:00
064c17817b jupyter: hided notebook header and toolbar 2021-07-23 15:50:36 +02:00
03bfd16055 jupyter: disable bracket auto complete 2021-07-23 15:48:56 +02:00
a9ee9983b3 bash: remove unused shell aliases and functions 2021-07-22 17:34:09 +02:00
e44b318e61 bash: turn aliases into scripts
This makes the common actions previously encoded as bash aliases
independent of the shell (I'm using /bin/sh for the scripts), which will
make a potential switch to zsh easier by having less bash-specific stuff
around.
2021-07-22 17:34:00 +02:00
c650622193 bin: get rid of scripts I have never used 2021-07-22 17:21:26 +02:00
aee8638a3f bin: add ,colorchart 2021-07-22 17:03:32 +02:00
d1379ae956 bin: rename solarize -> ,solarize 2021-07-22 16:43:36 +02:00
67d62cbe89 bin: "namespace" dotfiles with ,
This is based on an idea from Brandon Rhodes fron:

    https://github.com/brandon-rhodes/homedir/tree/master/bin
2021-07-22 16:41:43 +02:00
579a870230 bootstrap: make it runnable from anywhere
I was previously using relative paths to $PWD with the implicit
assumption that I would always run `bootstrap` from the dotfiles
root directory. This commit fixes that.
2021-07-22 16:24:17 +02:00
d44a8175d1 bootstrap: prune broken links
The links are only removed if they are broken and the target was within
the dotfiles bin directory. This makes it easier to deal with removed
and renamed scripts so I don't have to go hunt for them by hand.
2021-07-22 16:22:42 +02:00