Commit graph

43 commits

Author SHA1 Message Date
c4e94c1878 zsh: tweak select-prompt to match my man setup 2023-10-10 08:53:22 +02:00
3b4ba219f5 zsh: tweak style of section headers 2023-10-09 19:54:13 +02:00
ade1f30ef6 zsh: disable approximate completions
They turned out to be kind of annoying.
2023-10-09 19:53:16 +02:00
881fa855bb zsh: include hidden files in completion 2023-10-08 21:10:36 +02:00
0db298fa85 zsh: enable INTERACTIVE_COMMENTS 2023-10-08 21:10:16 +02:00
216804c368 zsh: rework/simplify prompt 2023-10-08 21:06:26 +02:00
2f1f3527c5 zsh: use tab to select match and continue completion 2023-10-08 17:10:38 +02:00
410ac2d1b2 zsh: autoload custom functions 2023-10-08 17:03:42 +02:00
de3235450c zsh: move man pages customization to separate file 2023-10-08 17:03:42 +02:00
765bb4585b zsh: only customize man pages for interactive shells 2023-10-08 15:24:56 +02:00
4e66ed6387 zsh: add more bindings to the menuselect keymap 2023-10-06 10:17:05 +02:00
010bb0afde zsh: better completion 2023-10-06 05:04:59 +02:00
c72b34eb42 zsh: make CTRL-R backwards compatible to v0.21.0
I am still using Debian 11 on some machines, which has fzf 0.21.0. This
version doesn't accept `--schema=history` yet (introduced in 0.33.0), so
I replaced it with `--tiebreak=index` and `--reverse`.
2023-10-05 10:04:38 +02:00
8ccaf2bfec zsh: kill whole line with ^u rather than from start of insert 2023-10-04 23:52:06 +02:00
91719784e5 zsh: add fzf key bindings 2023-10-04 23:51:43 +02:00
589f310ef8 zsh: revert to simpler widget naming 2023-10-04 23:45:36 +02:00
0e18599a8d zsh: rename: vi-mode -> line-editor 2023-10-04 22:23:56 +02:00
1f3d8d824c zsh: add key bindings 2023-10-04 22:22:46 +02:00
56f97684a8 zsh: minor renames/reorder 2023-10-04 21:46:18 +02:00
27d284ddd2 zsh: remove extra newline before prompt 2023-10-03 18:57:22 +02:00
82a08405c5 zsh: use grep from homebrew if available 2023-10-01 23:46:26 +02:00
cd9f2ab8f2 zsh: disable dotnet annoyances 2023-08-01 14:06:22 +02:00
7a7c44a2da zsh: adjust man page colors for gruvbox 2023-07-22 22:06:44 +02:00
dc3f84cabb zsh: make prompt use only indexed colors
This "should" make it easy to switch color schemes in the terminal and
not worry about the prompt, which will automatically adapt.
2023-07-22 18:38:32 +02:00
783c0d87c8 zsh: update prompt for gruvbox 2023-07-22 00:58:39 +02:00
bfa78813c9 zsh: add mkcd() 2023-07-15 00:32:24 +02:00
6cabb10b31 zsh: don't cause errors if tput is not available 2023-03-05 01:09:51 +01:00
ebda8d4fa2 zsh: factor out checking for command availability 2023-03-05 01:09:51 +01:00
70bf3b3118 zsh: minor refactors 2023-03-05 01:09:51 +01:00
e46a370e2e zsh: move environment setup to .zprofile 2023-03-05 01:09:51 +01:00
f131f81c51 install: remove stow dependency and reorganize repo 2023-02-28 22:39:51 +01:00
2e95a30cd9 zsh: remove aliases I never use 2023-02-26 18:11:51 +01:00
051f7f876a zsh: fix typo (missing =) in lt alias 2023-01-28 18:56:54 +01:00
406b092b03 zsh: use long option names in aliases where possible
Makes sense to use long option names when I am not doing the typing, as
they are more descriptive than most single letters.
2023-01-26 22:17:47 +01:00
2a16007dfa zsh: remove listing of git status with exa
The git status information makes `exa` choke a bit in very large
repositories, which I have been navigating a lot lately.
2023-01-26 22:08:54 +01:00
3bd5c8251b zsh: add tlt alias for limiting tree level 2023-01-25 16:20:40 +01:00
666fdf9134 zsh: use Homebrew's make if available 2023-01-22 00:36:54 +01:00
fd9708e5ea zsh: alias vi to nvim 2023-01-22 00:36:36 +01:00
f899112ec0 zsh: add GNU tar to PATH if available on macOS 2022-11-19 12:08:16 +01:00
fb1b6a3bda zsh: fix changing cursor shape in tmux + iTerm2
Most terminals use the VT520 DECSCUSR escape sequences for setting the
cursor shape, documented at:

    https://invisible-island.net/xterm/ctlseqs/ctlseqs.txt

iTerm2, however, uses a set of proprietary escape codes, documented at:

    https://iterm2.com/documentation-escape-codes.html

The issue I had was that tmux recognizes the VT520 DECSCUSR codes and
knows how to translate them itself to iTerm2. But tmux does not accept
the iTerm2 codes as input, so deciding to use these proprietary codes
only based on the presence of `$ITERM_SESSION_ID` did not work when
running tmux. The solution is to revert to the VT520 codes when running
inside of tmux (even inside iTerm2) and let it translate to iTerm2.
2022-11-18 20:34:32 +01:00
37f14fc23a zsh: make `~/.zshenv' as small as possible
`~/.zshenv' is executed for _every_ instance of `zsh', so we should
limit the work done there to the absolute minimum. For me, that
currently means only making sure `$ZDOTDIR' is set so that login (via
`.zprofile') and interactive (via `.zshrc') shells can be configured
appropriately.
2022-10-21 20:16:10 +02:00
39f51775fe zsh: refactor configuration with focus on interactive shells
Moved most of the work to `.zshrc' rather than `.zhenv', because most of
my configuration is only relevant to my interactive use of the shell.
2022-10-21 19:59:16 +02:00
61f0b64b84 install: make ~/.config a symlink into dotfiles 2022-02-07 19:26:29 +01:00