Commit Graph

327 Commits

Author SHA1 Message Date
5381036aed
Don't correct when using mv 2022-04-28 13:00:58 +02:00
3820ba8626
Replace regular expressions with globs 2022-04-28 12:56:50 +02:00
116e79518f
Add termux workaround to xterm workaround 2022-04-28 08:37:46 +02:00
2bf6d037d4
Add keybinding workarounds for xterm 2022-04-27 23:21:50 +02:00
fb10f2bc55
Ensure that ${fpath} has no duplicate entries 2022-04-27 23:21:07 +02:00
df1e72d517
Enable xterm 256 colour mode 2022-04-27 23:20:43 +02:00
4e3b4b2cf8
Remove useless exports and quotes 2022-04-27 23:10:28 +02:00
a4b11b0f79
Add new Zsh syntax theme and switch to it 2022-04-27 22:36:23 +02:00
4e7c0f4d96
readwwwlog: Fix pastebin.com 2022-04-27 20:56:30 +02:00
4925847c43
Disable compression in git
Compression shall be done by the FS.
2022-04-27 17:58:00 +02:00
f75cb91d0d
Add support for paste.ee to readwwwlog 2022-04-27 15:09:08 +02:00
b252ce4ec5
Tweak path algorithm in Zsh prompt
Reduce allowed element width to increase probability of unshortened last
element.
2022-04-27 15:01:59 +02:00
cd8244faa4
Support all pastebin.TLD services in readwwwlog 2022-04-26 23:48:20 +02:00
450ef82d9b
Add support for paste.centos.org to readwwwlog 2022-04-26 17:53:18 +02:00
62d929127f
readwwwlog: Make sure temporary files are deleted 2022-04-25 21:55:02 +02:00
239e4d293c
readwwwlog: Use id variable everywhere 2022-04-25 15:12:04 +02:00
a2f2c4c6bc
Add support for paste.debian.net to readwwwlog 2022-04-25 15:08:48 +02:00
80933c33f5
readwwwlog: fix text/plain check, only sleep for dpaste 2022-04-25 10:30:30 +02:00
7b35fb38c9
Add support for bpa.st and spunge.us to readwwwlog 2022-04-25 10:24:07 +02:00
23ad6625ba
cat-highlight: Fix error check
It caused cat-highlight to always return with an error status.
2022-04-25 00:16:38 +02:00
d2e68c5c8f
Reorganise highlighter selection in less and cat
- LESSOPEN contains lesspipe{,sh} only
- ~/.lessfilter tries more highlighters
- cat-highlight processes each file independently
- cat-highlight tries to use ~/.lessfilter
2022-04-24 23:53:52 +02:00
d483b23eb1
Zsh-ify PATH and MANPATH 2022-04-24 23:02:02 +02:00
0ceb3c9e73
Zsh prompt: move prompt_cleanup 2022-04-24 22:01:57 +02:00
941e420c2d
Zsh prompt: autoload add-zsh-hook early enough 2022-04-24 19:38:38 +02:00
69c528842a
Move VCS function in prompt 2022-04-24 19:35:03 +02:00
cff0899edb
Fix indentation in prompt_tastytea_help 2022-04-24 19:25:08 +02:00
dfa2822dfd
Add help message for async VCS to prompt 2022-04-24 18:50:21 +02:00
019b2ffed8
Set up vcs_info before enabling the prompt 2022-04-24 18:05:17 +02:00
9f4043a852
Prefix asynchronous VCS worker in prompt theme, add cleanup 2022-04-24 17:53:17 +02:00
ed72ab94d6
Colourise PS{2..4} 2022-04-24 17:14:48 +02:00
070890a95a
Don't unset stuff in prompt theme 2022-04-24 16:24:36 +02:00
08b9289e00
Move some vcs_info options out of prompt theme
Move all vcs_info options that are not styling related to .zshrc
2022-04-24 15:26:04 +02:00
d82a8135de
Convert Zsh prompt into a proper theme
Also make inactive colour a tiny bit brighter.
2022-04-24 15:14:03 +02:00
0eb8bd335a
Put dropdown terminal at y=0 (remove workaround)
See tdrop(1), section BUGS.
2022-04-23 22:23:20 +02:00
88cb329705
Make dropdown terminal floating to prevent flickering 2022-04-23 22:11:59 +02:00
8adfc51452
urlhandler: reformat assignments 2022-04-23 15:53:15 +02:00
7650ec5ac1
Allow for parameters in urlhandler 2022-04-23 15:48:08 +02:00
a5b424073c
readwwwlog: Start at line 1 if pattern is not found 2022-04-23 15:41:24 +02:00
a73f29871c
Fix comment 2022-04-23 11:38:48 +02:00
065122564a
Move username colour in prompt to appropriate place 2022-04-23 11:36:09 +02:00
50f2939827
Remove extra %f in git prompt 2022-04-23 11:30:57 +02:00
1a16e70e08
Zsh prompt: Allow to break shrink-path-loop early 2022-04-22 23:15:16 +02:00
164ea811ce
typo 2022-04-22 23:09:11 +02:00
a170e34344
Zsh prompt: refine shrunken path algorithm
- Allow short elements
- Try to keep last element
  - Shorten mid-section if not possible
2022-04-22 23:05:21 +02:00
2e4cfd99e0
Zsh: Early return in _shrunkpwd() 2022-04-22 08:40:10 +02:00
5e22f6cea1
Zsh: async_vcs_prompt -> _async_vcs_prompt 2022-04-21 23:05:38 +02:00
a2a261ddbe
Zsh: Shrink PWD in RPROMPT dynamically 2022-04-21 23:04:25 +02:00
025c3ae0ff
Add magnet and torrent URLs to urlhandler 2022-04-20 17:41:53 +02:00
df1d641ad0
Correct .clang-tidy header 2022-04-19 23:15:07 +02:00
96cfa07a04
Update .clang-format to 13, change brace wrapping style 2022-04-19 22:47:54 +02:00