Commit graph

49 commits

Author SHA1 Message Date
Yan Lin
0ab3b8f3b6 remove cd complete function 2026-01-28 20:43:53 +01:00
Yan Lin
534e5dd1a1 minor 2026-01-28 20:32:08 +01:00
Yan Lin
da097f5067 replace ls with eza 2026-01-28 20:30:54 +01:00
Yan Lin
883810a8b2 extend cdf and pwdf ignore patterns 2026-01-26 20:16:11 +01:00
Yan Lin
0442e98502 add nix-sync alias 2026-01-25 16:03:04 +01:00
Yan Lin
947157696b ignore app-state in interactive file search 2026-01-25 08:44:31 +01:00
Yan Lin
d264eed9df bug fix 2026-01-21 17:13:15 +01:00
Yan Lin
7cba60f231 expand cd tab autocomplete 2026-01-21 17:10:09 +01:00
Yan Lin
af12c6c836 ignore hidden files/dirs in search 2026-01-16 11:17:51 +01:00
Yan Lin
88213111d3 remove custom project launcher 2026-01-13 14:35:25 +01:00
Yan Lin
c9515fa98a minor fix 2025-11-29 22:40:48 +01:00
Yan Lin
f0b597aa61 add show in file manager zsh function 2025-11-18 19:27:29 +01:00
Yan Lin
eeba92b7b0 remove unused alias 2025-11-16 00:34:26 +01:00
Yan Lin
9166915847 expand deck game recording sync 2025-11-04 23:52:48 +01:00
Yan Lin
64b4dc4b3f minor 2025-11-04 11:49:56 +01:00
Yan Lin
0f80f5182f remove system clipboard from zsh 2025-10-20 15:07:15 +02:00
Yan Lin
a20046e1e2 minor fix 2025-10-11 19:37:10 +02:00
Yan Lin
af52848b4b enable unnamedplus for zsh 2025-10-11 14:43:45 +02:00
Yan Lin
2055f7de70 Add full-switch (fs) alias 2025-09-19 18:22:59 +02:00
Yan Lin
0f25994737 Add optional parameter to cdf and pwdf 2025-09-11 20:53:40 +02:00
Yan Lin
bd99a04f19 Separate a few zsh config 2025-09-07 14:01:45 +02:00
Yan Lin
d2bc0a522e Add disk health check 2025-09-07 12:54:38 +02:00
Yan Lin
cb9f29154f Separate system and home config on hs 2025-09-07 10:35:40 +02:00
Yan Lin
04431c8cce Set default zsh shell 2025-09-07 00:16:02 +02:00
Yan Lin
6368fe594a Use host-specific home configuration 2025-08-29 23:16:24 +02:00
Yan Lin
6691d3c037 Wrap macos-only config behind platform detection 2025-08-29 21:23:13 +02:00
Yan Lin
1cf3877ba5 Add pwdf function 2025-08-29 12:58:53 +02:00
Yan Lin
7e654c5ce5 Add homebrew cask apps 2025-08-28 17:20:18 +02:00
Yan Lin
2a2e053d62 Add homebrew 2025-08-28 17:01:11 +02:00
Yan Lin
4d0d217ba8 Add interactive mode to project lanucher 2025-08-27 22:46:04 +02:00
Yan Lin
959bf773cb Add macos app search function 2025-08-27 22:28:30 +02:00
Yan Lin
385e50a560 Improved cdf function 2025-08-27 20:54:41 +02:00
Yan Lin
6142cc4b39 Add firefox alias 2025-08-26 01:58:21 +02:00
Yan Lin
f58a088c43 Simplify the logic of project lanucher 2025-08-25 12:40:55 +08:00
Yan Lin
0c72fedeb8 Add microsoft office alias 2025-08-24 21:06:28 +08:00
Yan Lin
a1f03b0f17 Add messager alias 2025-08-24 14:23:03 +08:00
Yan Lin
d1e8fe0a0a Add cdf alias 2025-08-23 12:09:00 +08:00
Yan Lin
d37eb8086b Add inkscape alias 2025-08-20 07:16:06 +09:00
Yan Lin
fadd58c7f4 Modify project config 2025-08-19 13:19:55 +09:00
Yan Lin
87550230d8 Replace hardcoded dir with hm paths 2025-08-12 09:45:52 +09:00
Yan Lin
f0b7ad9213 Add offline home manager switch option 2025-08-01 08:27:10 +02:00
Yan Lin
73d425d2bf Add zoxide integration for smart directory navigation
- Add zoxide package to flake.nix
- Enable zoxide with zsh integration in modules/zsh.nix
- Configure zoxide to replace cd command with smart frecency-based navigation
- Add zi alias for interactive directory selection with fzf

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 00:07:48 +02:00
Yan Lin
a7164a0ff3 Fix Shift+A autocomplete interference with refined approach
- Replace single key sequence binding with multiple potential Shift+A sequences
- Add explicit self-insert bindings for 'A', '^[[1;2A', and '^[[65;2u' to cover different terminals
- Configure ZSH_AUTOSUGGEST_CLEAR_WIDGETS to prevent autosuggestion interference with vim modes
- Add vi-add-eol and vi-add-next to clear widgets to ensure proper vim behavior
- Set ZSH_AUTOSUGGEST_ACCEPT_WIDGETS to handle vim end-of-line operations correctly

This should prevent Shift+A from triggering autocomplete while preserving vim functionality.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 23:58:40 +02:00
Yan Lin
107b668e3a Fix zsh vim mode backspace and Shift+A autocomplete issues
- Add explicit backspace bindings for ^? and ^H to fix backspace in vim insert mode
- Add Shift+A binding to vi-add-eol to prevent autocomplete interference and enable proper vim append-insert behavior
- These fixes ensure backspace works properly and Shift+A functions as vim append-insert instead of triggering autocompletion

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 23:54:44 +02:00
Yan Lin
d074f7c981 Add termscp - comprehensive CLI-UI FTP tool
- Add termscp package to home.packages in flake.nix
- Add 'ftp' alias pointing to termscp in zsh.nix
- Update README.md with termscp documentation and usage examples
- Provides rich TUI for FTP/SFTP/SCP/S3/WebDAV file transfers
- Complements existing lftp for scripting vs interactive use

Key features:
- Multi-protocol support (FTP, SFTP, SCP, S3, WebDAV)
- Interactive dual-pane file browser
- Bookmarks and connection management
- File synchronization capabilities
- Customizable themes and interface

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 23:59:08 +02:00
Yan Lin
ceef6ab641 Fix project launcher path resolution for shell aliases
- Change projectLauncher from relative to absolute path
- Fixes issue where proj alias was not being created
- Enables project shortcuts: proj, blog, mdshortcut, nix-config

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 22:46:25 +02:00
Yan Lin
c3c4b060fc Add jq package for project shortcuts JSON parsing
- Add jq to home.packages in zsh.nix
- Required for project-launcher.sh to parse projects.json
- Fixes 'No projects configured' error

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 22:43:30 +02:00
Yan Lin
af7b855faf Add comprehensive project shortcuts system
- Create config/projects.nix for project definitions with templates
- Add scripts/templates/ with basic, content, and research workflows
- Create universal project-launcher.sh for template execution
- Integrate project system into zsh with dynamic alias generation
- Generate projects.json config file for shell script consumption
- Update README.md with project shortcuts documentation

Projects supported:
- blog: Personal blog (content workflow)
- mdshortcut: Research project (research workflow)
- nix-config: Nix configuration (basic workflow)

Usage: proj, blog, mdshortcut, nix-config commands

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 22:38:23 +02:00
Yan Lin
539ba9fef7 Reorganize configuration into modular directory structure
- Create modules/ directory for Nix configuration modules
- Create config/ directory for configuration files
- Move nvim.nix, tmux.nix, zsh.nix to modules/
- Move p10k.zsh to config/
- Update flake.nix import paths to reference new structure
- Update zsh.nix p10k.zsh path reference
- Update README.md architecture documentation
- Keep tmux.sh at root for easy accessibility

This provides better separation between Nix modules and config files
while maintaining a clean, scalable structure.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 22:07:28 +02:00
Renamed from zsh.nix (Browse further)