From fadd58c7f4bc64323ca850b103bbd551d311f931 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Tue, 19 Aug 2025 13:19:55 +0900 Subject: [PATCH] Modify project config --- config/projects.nix | 7 +++++++ modules/zsh.nix | 29 +++++++++++------------------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/config/projects.nix b/config/projects.nix index 7322f23..a8e6777 100644 --- a/config/projects.nix +++ b/config/projects.nix @@ -134,6 +134,13 @@ in git = true; shell = false; } + { + name = "blog"; + path = homePath "Documents/Projects/personal-blog/content/ai-system"; + ai = true; + git = true; + shell = false; + } ]; }; diff --git a/modules/zsh.nix b/modules/zsh.nix index f23c3a2..64029b3 100644 --- a/modules/zsh.nix +++ b/modules/zsh.nix @@ -20,25 +20,18 @@ in shellAliases = { ll = "ls -alF"; - la = "ls -A"; - l = "ls -CF"; - ".." = "cd .."; - "..." = "cd ../.."; - - # Git aliases - gs = "git status"; - ga = "git add"; - gc = "git commit"; - gp = "git push"; - gl = "git pull"; - gd = "git diff"; - - # Modern CLI tools - ftp = "termscp"; - - # Zoxide aliases zi = "z -i"; # Interactive selection with fzf - + preview = "open -a Preview"; + iina = "open -a IINA"; + dict = "open -a 'WordWeb Pro'"; + slide = "open -a SlidePilot"; + ovito = "open -a Ovito"; + appcleaner = "open -a AppCleaner"; + wechat = "open -a WeChat"; + tmeet = "open -a TencentMeeting"; + pixel = "open -a 'Pixelmator Pro'"; + keepass = "open -a KeePassXC"; + # Nix helpers hm = "home-manager"; hms = "home-manager switch --flake ~/.config/nix#yanlin";