refactor(dotfiles): унифицированы skills и упрощен bash_custom
Зачем: убрать дублирование skills между агентами и сократить кастомный bash слой до реально необходимых настроек. Что: skill conventional-commits перенесен в agents/.agents/skills, добавлены symlink-bridge пакеты для opencode и codex, обновлен README, очищен bash/.bash_custom от дублирования с системным ~/.bashrc, добавлены базовые zed settings/keymap файлы. Проверка: stow -nvv bash agents opencode codex zed и bash -n bash/.bash_custom.
This commit is contained in:
1 parent
c94bcc19de
commit
7cd55ac988
8 files changed
+50
-89
No files matched your search
+1
-2
@@ -27,7 +27,7 @@ set_bash_prompt() {
|
||||
|
||||
# ---- git branch ----
|
||||
local branch=""
|
||||
# Быстрее и проще, чем парсить `git branch` через sed :contentReference[oaicite:1]{index=1}
|
||||
# Быстрее и проще, чем парсить `git branch` через sed
|
||||
branch=$(git rev-parse --abbrev-ref HEAD 2>/dev/null)
|
||||
local git_part=""
|
||||
if [ -n "$branch" ] && [ "$branch" != "HEAD" ]; then
|
||||
@@ -43,4 +43,3 @@ set_bash_prompt() {
|
||||
|
||||
# Запускаем set_bash_prompt перед каждым показом приглашения
|
||||
PROMPT_COMMAND=set_bash_prompt
|
||||
|
||||
Reference in new issue
Block a user