a70e2801af
zsh: add function to prepend to PATH without duplicates
...
With this function, I can use the same logic in other configuration
files (e.g. `~/.local/etc/zsh/config.zsh`). This avoids duplication in
tmux sessions when prepending naively.
2024-07-15 21:37:28 +02:00
154e9bf1b0
pre-commit: don't fix end-of-file for lazy-lock.json
...
This file is updated automatically by the plugin whenever
I install/update/uninstall plugins and a extra new line is always
appended.
2024-07-14 23:52:33 +02:00
e5793203f2
Revert "nvim: fix opening browser with Markdown preview on macOS + Firefox + tmux"
...
This reverts commit 50dfc1efa6
.
It seems that the issue with open(1) was temporary and fixed by
restarting the machine.
2024-07-14 23:52:33 +02:00
1a89e1324f
pre-commit: separate hook repos with blank lines
2024-07-14 23:52:23 +02:00
8e2b50e034
nvim: add custom icons to Mason
2024-07-14 23:52:23 +02:00
e9b2121e65
Fix shellcheck findings
2024-07-14 23:52:23 +02:00
44d0f1f769
pre-commit: disable shellcheck for zsh files
...
`shellcheck` does not support zsh and throws all sort of errors because
the pre-commit thinks all zsh file are shell scripts.
2024-07-14 23:52:07 +02:00
d7b6938a74
bin: make color index more readable
...
Use white text for darker colors and black text for lighter colors.
Also, now the `colors256` script became redundant, so it's removed.
2024-07-14 23:52:07 +02:00
82979b2153
nvim: add plugin 'mfussenegger/nvim-lint'
2024-07-14 23:52:07 +02:00
c453f2909e
nvim: fix keymap description for formatter.nvim
2024-07-14 23:52:07 +02:00
80a3043d87
pre-commit: add shellcheck
2024-07-14 23:51:56 +02:00
13fa12c5c3
Ensure files end with a new line
2024-07-14 23:51:56 +02:00
ab7d4933aa
Fix trailing white space
2024-07-14 23:51:56 +02:00
3a10b4dc32
Remove BOM (byte order marker) from .XCompose
2024-07-14 23:51:56 +02:00
5559eaa6da
Fix permissions for files that should be executable
2024-07-14 23:51:56 +02:00
88bde902ea
zsh: remove executable bit from files that are meant to be sourced
2024-07-14 23:51:56 +02:00
564e26df7f
pre-commit: add initial configuration
2024-07-14 23:51:41 +02:00
8a5478ad4c
vim: add plugin 'tyru/open-browser.vim'
2024-07-14 02:35:43 +02:00
c3b1b29768
zsh: cd to git repository root with ctrl-g in the line editor
2024-07-14 02:34:04 +02:00
d28bb6099f
git: add some useful commands (authors, cal, ignored, tree)
2024-07-14 02:33:19 +02:00
3fc86cf7c6
git: minor tweaks to my git commands
2024-07-14 02:33:00 +02:00
0f85776d14
git: turn git-alias
into a git command
2024-07-14 02:32:03 +02:00
6f5ddfaad6
bin: print color index
2024-07-13 21:58:42 +02:00
c409d31f7f
zsh: rename alias dot
-> dots
...
The previous name conflicts with one of the Graphviz executables, which
I started using lately.
2024-07-13 11:59:29 +02:00
50dfc1efa6
nvim: fix opening browser with Markdown preview on macOS + Firefox + tmux
2024-07-12 16:40:35 +02:00
735d6ffaef
nvim: don't close Markdown preview when leaving the buffer
2024-07-12 16:39:53 +02:00
55fe46e113
nvim: update spellings
2024-07-12 16:39:16 +02:00
76ecc9b533
nvim: disable conceal for markdown files
2024-07-12 16:35:25 +02:00
3a273afd06
nvim: extract PlantUML JAR from launch script
...
I had previously hard-coded the path on my Debian install, but this
commit will find the correct JAR file as long as there is a `plantuml`
launch script in the PATH.
2024-07-12 13:26:26 +02:00
c91a813f83
nvim: add plugin 'weirongxu/plantuml-previewer.vim'
2024-07-11 12:43:45 +02:00
5274f0a7f2
nvim: use 2 spaces for file type cmake
2024-07-11 12:25:31 +02:00
10d2bdbf49
nvim: add some spelling from work
2024-07-11 12:25:08 +02:00
5a957f6de3
nvim: Add PlantUML syntax
2024-07-11 12:24:25 +02:00
089c6f8ffc
vim: ensure cmake
treesitter parser is installed
2024-04-11 10:44:00 +02:00
d14ebc7281
zsh: enable completion from packages in /usr/local
2024-03-20 23:29:26 +01:00
9170201712
zsh: formatting
2024-03-20 23:29:13 +01:00
d80292efd2
debian: install git-delta
v0.17.0
2024-03-20 23:06:41 +01:00
529e049613
debian: install fd
v9.0.0
2024-03-20 23:06:41 +01:00
9a92bfb005
debian: install eza
v0.18.7
2024-03-20 23:06:41 +01:00
d8477d58d3
debian: install broot
v1.36.1
2024-03-20 23:06:41 +01:00
118cf229d9
debian: don't require root access for dry run
2024-03-20 23:06:41 +01:00
5e57c1351e
debian: Add info output (and be more verbose)
...
This makes it easier to follow what is happening while the script is
running.
2024-03-20 23:06:24 +01:00
ceffaf3737
debian: enable dry run
2024-03-20 22:42:23 +01:00
9b7143d33d
debian: remove custom packages
2024-03-19 20:42:36 +01:00
af8b2a956c
Clean up
2024-03-18 22:18:12 +01:00
076b08c583
debian: use custom packages and remove dry-run
2024-03-18 22:15:21 +01:00
2a77358b1c
mintty: sync current wsltty
tweaks
2024-03-18 11:27:01 +01:00
b42c0c04ba
eza: make user/group not stand out so much
2024-03-18 11:24:00 +01:00
f39ac9a666
vim: navigate up/down completions with <c-j>/<c-k>
2024-03-17 23:37:42 +01:00
fee0d0f5c7
vim: better telescope
key mappings (match fzf
)
2024-03-17 23:36:44 +01:00