搜索

PythonReactSEOPDF
GitHub Skill

config

Overview of Trent's development environment and dotfiles setup. Use this skill first to understand the overall setup, then reference specific skills for details. CRITICAL - Trent uses fish shell, NOT zsh.

trentshaines☆ 0 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Trent's Development Environment

Quick Reference

Tool Purpose Skill Config Location
fish Shell (PRIMARY) fish ~/.config/fish/config.fish
chezmoi Dotfile management chezmoi ~/.local/share/chezmoi/
tmux Terminal multiplexer tmux ~/.tmux.conf
sesh Tmux session switcher tmux -
tmuxinator Tmux session templates tmux ~/.config/tmuxinator/*.yml
lazyvim Neovim distribution lazyvim ~/.config/nvim/
aerospace Window manager aerospace ~/.config/aerospace/aerospace.toml
obsidian Notes/Zettelkasten obsidian ~/Documents/obsidian-vault/
starship Prompt - ~/.config/starship.toml

Critical Facts

  1. Fish is the primary shell - Always add aliases/functions to fish, never zsh
  2. Chezmoi manages dotfiles - After editing configs, sync with chezmoi add or cadd
  3. Tmux uses 1-based indexing - Panes and windows start at 1, not 0
  4. Vi mode everywhere - Fish, tmux, and nvim all use vi keybindings

Machines

Name Address Access
Mac Mini 100.77.152.106 mm alias (SSH + port forward 3000, 8000)

Common Paths

~/.config/fish/           # Fish shell config
~/.config/nvim/           # Neovim/LazyVim config
~/.config/tmuxinator/     # Tmux session templates
~/.config/aerospace/      # Window manager config
~/.local/share/chezmoi/   # Chezmoi source (dotfiles repo)
~/.claude/skills/         # Claude Code skills
~/git/                    # Git projects

Chezmoi Workflow

After editing any config file:

cadd                      # Re-add changed files to chezmoi
# or
chezmoi add ~/.config/... # Add specific file

Then commit in ~/.local/share/chezmoi/.

Key Aliases

# Config editing
ef                        # Edit fish config
v                         # Neovim

# Chezmoi
cadd                      # chezmoi re-add
capply                    # chezmoi apply

# Tmux
ts                        # Session switcher (fzf)
tnw                       # New window with 3-pane layout

# SSH
mm                        # SSH to Mac Mini with port forwards

Tmuxinator Sessions

  • config - Dotfiles editing (root: ~/.config)
  • admin - System monitoring (btop + terminals)
  • default - Template for project sessions

When Editing Configs

  1. Use the appropriate skill for detailed help (fish, tmux, lazyvim, etc.)
  2. Remember to sync to chezmoi after changes
  3. Fish syntax differs from bash/zsh:
    • set -gx VAR value not export VAR=value
    • (command) not $(command)
    • Functions go in ~/.config/fish/functions/name.fish

Skills Index

  • fish - Shell config, aliases, functions, vi mode
  • tmux - Sessions, tmuxinator templates, sesh, window layouts
  • chezmoi - Dotfile management, syncing, ansible playbooks
  • lazyvim - Neovim config, plugins, LSP, keybindings
  • aerospace - Window management, workspaces, tiling
  • obsidian - Zettelkasten notes, vault search
  • claude-skills - Creating and managing skills

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!