Skip to content

Conversation

@tlockney
Copy link
Owner

@tlockney tlockney commented Jan 5, 2026

Summary

  • Add edit-command-line feature (Ctrl+X Ctrl+E opens current command in $EDITOR)
  • Add magic space to expand history expressions (!!, !$, etc.) inline
  • Add zmv for pattern-based batch file operations with convenience aliases (zcp, zln)
  • Add suffix aliases for common file types (markdown with glow, json with jless, source files with $EDITOR)

Test plan

  • Source the updated config: source ~/.zshrc
  • Test edit-command-line: type a command, press Ctrl+X Ctrl+E, verify editor opens
  • Test magic space: type !! then space, verify last command expands
  • Test suffix aliases: type README.md and verify glow opens it
  • Test zmv: run zmv -n '(*).txt' '$1.bak' to verify pattern preview works

…uffix aliases

- Edit command line in $EDITOR with Ctrl+X Ctrl+E
- Magic space expands history expressions (!!, !$, etc.)
- zmv for pattern-based batch file operations (plus zcp/zln aliases)
- Suffix aliases: markdown with glow, json with jless, source files with $EDITOR
@tlockney tlockney merged commit ab5ce80 into main Jan 5, 2026
1 check failed
@tlockney tlockney deleted the claude/add-zsh-tricks-57hnH branch January 5, 2026 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants