claude-memory/graph/decisions/fish-shell-cc-function-migrated-from-zsh-to-fish-autoload-e6158e.md
2026-02-27 22:53:50 -06:00

1.5 KiB

id type title tags importance confidence created updated relations
e6158e53-af06-40f7-bfd1-32fc481a2b3f decision Fish shell cc function migrated from zsh to fish autoload
fish
zsh
tmux
claude-code
workstation
dotfiles
decision
0.55 0.8 2026-02-28T04:53:10.968337+00:00 2026-02-28T04:53:50.319287+00:00
target type direction strength edge_id
5f31ea7f-9b53-427d-b601-ab98dabaa2e3 RELATED_TO outgoing 0.85 c8c80611-84e9-4300-9a85-fb569a20a33f
target type direction strength edge_id
055aea5f-7084-48ae-a096-69ee1c35e114 RELATED_TO outgoing 0.8 950a6739-117b-472e-8dc6-b737af7556ea
target type direction strength edge_id
fba35b41-aced-4f74-ae01-dfa062df0764 RELATED_TO outgoing 0.75 d6e68af6-ba0f-49d9-a730-dbcc38497ac1

Fish shell cc function migrated from zsh

Decision

Migrated the cc function (opens Claude Code in a named tmux session) from ~/.zshrc to fish shell's autoload function system.

Implementation

  • Created /home/cal/dotfiles/fish/functions/cc.fish
  • Symlinked to ~/.config/fish/functions/cc.fish
  • Fish autoloads functions from ~/.config/fish/functions/ by filename convention — no explicit source needed

Notes

  • The original zsh version remains in ~/.zshrc lines 46-54 (kept for backward compatibility / reference)
  • Fish 4.2.0 on Nobara with Starship prompt
  • The function opens Claude in a named tmux session, making it reattachable
  • Dotfiles repo: cal/dotfiles on Gitea
  • Fish config: ~/dotfiles/fish/functions/