xavier
5653b8caf0
fix(rc): Prevent double-sourcing asdf when both native and Nix installs exist
...
rc.d/asdf tested native (~/.asdf) and Nix-profile asdf independently,
so if both were present on a machine, asdf would be sourced twice —
duplicate PATH entries and redefined completions/functions. Make the
Nix branch an elif so at most one is sourced.
2026-08-22 00:55:59 +02:00
xavier
55d2607035
style: Use command -v instead of which for availability checks
...
rc.d/anyenv, rc.d/screen, aliases.d/mc, and rc.d/startx were the last
holdouts still using `which` to check tool availability. Every other
file in rc.d/* already uses `command -v`, which doesn't depend on an
external binary being installed.
2026-08-22 00:55:55 +02:00
xavier
df189f9ec1
style: Normalize variable expansions to ${var} across the repo
...
Replace bare $var with ${var} everywhere it was still used, matching
the convention already established in rc.d/prompt and rc.d/history.
Positional parameters ($1, $@, $#) and special variables ($?, $$, $-)
are left as-is, consistent with existing usage in _helpers.bash.
rc.d/broot is auto-generated by the broot binary and will likely be
overwritten with its original formatting on the next broot update.
2026-08-22 00:55:39 +02:00
xavier
6a53ee36fd
chore(rc,profile,aliases,completion,libs,functions): Remove shebangs from sourced files
...
These files are always sourced (never executed directly), so the
#!/bin/bash shebang is inert and misleading. Drop it consistently
across rc.d/*, profile.d/*, and aliases.d/*.
2026-08-22 00:52:02 +02:00
xavier
7000bde368
feat(rc): Unify history tool selection (atuin/mcfly) with preference order
...
Merge rc.d/mcfly and rc.d/atuin into rc.d/history, following the same
preference-list + availability-check + fallback pattern as rc.d/prompt,
so only one history tool is active at a time instead of both being
initialized independently. Also normalize variable expansions in
rc.d/prompt to consistently use ${var} braces.
2026-08-22 00:19:55 +02:00
xavier
4f004fee15
feat(rc): Improve fzf configuration
2026-07-22 23:29:41 +02:00
xavier
32c0b021c5
feat(rc): Add preference for starship prompt over powerline-go
2026-07-16 19:00:51 +02:00
xavier
f2c78152cc
feat(rc): Add support for vivid tool to beautify LS_COLORS
2026-07-16 18:54:01 +02:00
xavier
7e007b5b0d
feat(rc): Fix prompt choice
2026-07-16 18:47:44 +02:00
xavier
76ce8a4758
feat(rc): Add support for vivid tool
2026-07-15 19:36:34 +02:00
Xavier Logerais
c4a93c7647
feat(rc): Smart titles for tmux windows
2025-11-21 19:43:35 +00:00
xavier
5f8997f418
chore(rc): fzf integration config spacing rework
2025-11-03 01:34:40 +01:00
xavier
db981696b6
fix: activate mise early
...
because some tools set in rc.d (like fzf, ...) depends on it
2025-11-03 01:24:52 +01:00
xavier
594a212ebc
chore(rc): rework fzf integration config
2025-11-01 12:53:41 +01:00
Xavier Logerais
5b0012ffc1
feat(rc): Ajout du support de fzf
2025-03-21 09:37:27 +00:00
Xavier Logerais
af4fb0e5fa
feat(rc): Ajout de l'outil zoxide
2025-03-15 22:37:34 +00:00
xavier
5cb8b5dfaf
feat(rc): Amélioration de la gestion de tmux
2025-03-13 00:19:53 +01:00
Xavier Logerais
cd341b7d80
feat(rc): Amélioration de la gestion de anyenv
2025-01-17 09:05:56 +00:00
Xavier Logerais
af5d43fb36
feat(rc): Amélioration de la gestion de tmux
2025-01-17 09:05:09 +00:00
Xavier Logerais
ddd9509d74
feat(rc): Amélioration de la gestion de mcfly
2025-01-17 09:04:46 +00:00
Xavier Logerais
a5671801de
fix: Annulation déplacement de asdf et mise vers profile.d
2024-06-21 17:15:19 +00:00
Xavier Logerais
df6de3cdbb
feat: Réécriture gestion des prompts dans rc.d
2024-06-21 16:49:23 +00:00
Xavier Logerais
f651195b22
fix: Correction activation ble.sh
2024-06-21 16:48:06 +00:00
Xavier Logerais
640df9986c
fix: Correction gestion direnv lorsqu'il n'est pas installé via asdf
2024-06-21 16:47:07 +00:00
Xavier Logerais
2140f57862
feat: Ajout support ble.sh installé depuis Nix
2024-06-21 13:23:29 +00:00
Xavier Logerais
8fcea3473a
chore: Nettoyage configuration krew dans rc.d
2024-06-20 09:51:04 +00:00
Xavier Logerais
ee3626059c
feat: Déplacement initialisation mise de rc.d vers profile.d
2024-06-18 12:43:23 +00:00
Xavier Logerais
9fddab2e35
feat: Déplacement initialisation asdf de rc.d vers profile.d
2024-06-18 12:42:52 +00:00
Xavier Logerais
7f3f24e14d
feat: Ajout support outil mise-en-place ( https://mise.jdx.dev/ )
2024-06-13 10:57:24 +02:00
Xavier Logerais
45914bdb5a
feat: Amélioration configuration McFly
2024-06-13 10:56:39 +02:00
xavier
66c57a0a51
fix: Fix PROMPT_COMMAND management
2024-01-27 19:04:33 +01:00
Xavier Logerais
fe6642402b
Merge branch 'master' of https://github.com/xlogerais/config-bash
2023-11-02 15:19:40 +01:00
Xavier Logerais
2fe787a370
feat(rc): Ajout d'une fonction de selection des branches git avec fzf
2023-11-02 15:12:25 +01:00
xavier
07756ac711
feat(rc): Add support for broot
2023-08-27 16:35:35 +02:00
xavier
c04d8876a3
feat(rc): Improve powerline prompt
2023-08-27 16:31:17 +02:00
xavier
1e20a91e84
feat: Ajout support broot
2023-04-03 10:43:57 +02:00
xavier
0e58fa99f4
feat: refacto aliases/completion kubectl, helm, stern
2023-04-03 10:38:42 +02:00
xavier
ece4edeb18
feat: Improve powerline support
2022-12-13 12:08:41 +01:00
Xavier Logerais
2cae0f7d03
feat: improve powerline support
2022-12-13 12:04:08 +01:00
xavier
e2920cab80
feat: Add alias for lsd
2022-05-21 15:04:45 +02:00
xavier
2ecb4c53fa
feat: improve config for powerline, mcfly and (n)vim
2022-05-21 02:41:24 +02:00
xavier
c58348a679
Merge branch 'master' of github.com:xlogerais/config-bash
2021-05-02 21:45:19 +02:00
xavier
ba9ad2784c
feat: update rc.d/prompt
2021-05-02 21:44:06 +02:00
xavier
a6948a056a
fix: move asdf and direnv from profile.d back to rc.d
2021-05-02 21:15:29 +02:00
xavier
a67d6448e9
feat: move asdf to profile.d
2021-05-02 00:26:28 +02:00
xavier
616bbba449
feat: remove unnecessary exec flag on rc.d files
2021-04-23 12:58:26 +02:00
xavier
b1b8a4b3f9
feat: add support for some kubernetes tools
2021-04-23 12:57:08 +02:00
xavier
5904b2693a
feat: Add asdf
2021-04-03 19:36:17 +02:00
xavier
cc25e775d3
Add config for kubectl and krew
2020-11-18 12:44:46 +01:00
xavier
e32a50b531
Modified history prefs for mcfly
2019-03-18 10:27:05 +01:00