Commit Graph

267 Commits

Author SHA1 Message Date
d2d2a166df
Make cat-highlight() work with spaces in filenames 2022-04-10 03:25:50 +02:00
56fd3d07a8
Simplify ssh-sign() a bit 2022-04-10 03:17:44 +02:00
5a4e65a545
_showebuild: return if _gentoo_packages is not found 2022-04-09 22:42:29 +02:00
abf19647c7
Add showebuild function
Show either installed, newest non-live or newest ebuild in less
2022-04-09 22:38:01 +02:00
6ad16cd497
Use highlight colour from theme in die() 2022-04-09 22:00:57 +02:00
0e631eb476
Remove useless autoload from ssh-sign 2022-04-09 21:56:33 +02:00
00fb63e60a
Zsh: Improve completions a bit
<https://thevaluable.dev/zsh-completion-guide-examples/>
2022-04-09 06:41:09 +02:00
762ad2cd4a
Zsh: Source ${ZDOTDIR}/.zshenv in ~/.zshenv 2022-04-09 06:03:46 +02:00
c2f45d5661
Improve ssh-sign function
Add -h option, don't require argument
2022-04-08 22:26:12 +02:00
151f91fb24
Add ssh-sign function 2022-04-08 20:11:49 +02:00
cac08403a8
alacritty: Fix indentation 2022-04-08 06:17:00 +02:00
3fa947d422
Align minor colour in Zsh prompt with tmux status colour 2022-04-08 04:54:34 +02:00
882232cff2
Zsh: Deprioritise portageq 2022-04-08 00:39:53 +02:00
aa036cb6bf
Zsh: Rename zaliases, zkeys and zsecrets 2022-04-08 00:35:06 +02:00
10e4b0ff86
Zsh: Change Gentoo repo directory aliases a bit
- Check for /etc/gentoo-release instead of calling lsb_release
- Make allrepos command nicer
2022-04-08 00:28:05 +02:00
12256f9137
Zsh: Refactor system package plugin detection 2022-04-06 19:52:58 +02:00
eb4973ae60
Zsh: Return early if _my_plugins is empty 2022-04-06 04:07:06 +02:00
a6baba1e30
Zsh: Use Gentoo packages for more plugins if possible
Add support for zsh-async, fzf-tab and zsh-history-substring-search.
2022-04-05 23:47:18 +02:00
806f31c85d
Zsh: Don't run antibody if we don't need it 2022-04-05 16:34:17 +02:00
98a36aa78c
Zsh: Move plugin management into own file
Also Don't install plugins that are already installed by the package
manager.
2022-04-05 16:11:10 +02:00
6d3b0609a2
Set the alacritty bell duration back to 200ms again 2022-04-04 21:15:36 +02:00
09c6315836
Zsh: Organise plugins in an array 2022-04-04 19:48:48 +02:00
f37ca08d78
Zsh: Don't load autosuggestions on slow computers 2022-04-04 19:29:56 +02:00
0a43f420e2
Change Zsh autosuggest colour to inactive color from prompt theme 2022-04-04 05:58:08 +02:00
342414d504
Change alacritty bell
Uses highlight colour from Zsh theme and make the effect more
transparent. Also double duration.
2022-04-04 05:38:34 +02:00
f44adb6760
Zsh prompt: Make sure bright colours are used for SSH and root 2022-04-04 05:23:00 +02:00
975ae6087c
ansi-colours: Add italic to modifier example 2022-04-04 05:22:26 +02:00
00c7c2bc76
Remove cursor style from zsh syntax hl theme
It interacts weirdly with terminal defaults.
2022-04-03 22:05:19 +02:00
9cefc87adf
die: Grab errorcode before doing anything else 2022-04-03 07:38:33 +02:00
386fcc82bd
cat-highlight: Allow unset variables 2022-04-03 07:38:07 +02:00
071d3e0e01
Only allow exactly 2 arguments in btrfs-snapshot-compare 2022-04-03 07:00:31 +02:00
e7bfbe250c
Zsh: Use die() in functions 2022-04-03 06:43:18 +02:00
94d92ff080
Zsh: Remove - from WORDCHARS 2022-04-03 06:19:07 +02:00
83ff053395
Zsh functions: set options for better error handling 2022-04-03 05:47:50 +02:00
cf620b0642
Zsh: die(): return instead of exit if interactive 2022-04-03 05:08:51 +02:00
ecc61cb747
Only set ALTERNATE_EDITOR to nano if nano is in PATH 2022-04-03 04:42:47 +02:00
5e925e84a8
Zsh: Add function: die() 2022-04-03 04:40:51 +02:00
64c12cd4cf
Zsh: Move fpath addition to .zshenv to have it available in scripts 2022-04-03 04:34:13 +02:00
e8490692b3
Zsh: Use more shell builtins for LC_TIME setting 2022-04-02 17:40:33 +02:00
d568b10ef8
LS_COLORS: Change config file colour to brown 2022-04-02 15:49:03 +02:00
1d129818a8
Add .ex and .js to LS_COLORS 2022-04-02 00:09:04 +02:00
d3daa18cfb
Zsh: Silence echoti errors 2022-04-01 23:59:17 +02:00
e004081c5a
Zsh: Use more shell builtins, load modules explicitly 2022-04-01 23:30:25 +02:00
6cff8a5713
Add functions to fpath in .zshrc 2022-04-01 21:01:32 +02:00
4d44b03add
Set ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE to darker grey 2022-04-01 04:37:20 +02:00
858504947e
Change alacritty colours to match xterm better 2022-04-01 04:30:39 +02:00
dc33eb2aa1
Add .org to text files in LS_COLORS 2022-04-01 03:49:35 +02:00
6404f6ce53
unset LS_COLORS before changing it 2022-04-01 03:49:14 +02:00
23a3a2bf4d
LS_COLORS: Change includable color and make it italic 2022-04-01 03:48:58 +02:00
93120ef0ff
Add stuff to LS_COLORS, change compressed to red, text to cyan 2022-04-01 03:30:00 +02:00