diff --git a/home-manager/modules/shell.nix b/home-manager/modules/shell.nix index 7eb75da..4737a80 100644 --- a/home-manager/modules/shell.nix +++ b/home-manager/modules/shell.nix @@ -7,8 +7,8 @@ history.path = "${config.xdg.dataHome}/zsh/history"; dotDir = ".config/zsh"; shellAliases = { - note = "nvim ~/Documents/wiki/notes.md"; - wiki = "nvim ~/Documents/wiki/index.md"; + note = "cd ~/Documents/wiki && nvim ~/Documents/wiki/notes.md"; + wiki = "cd ~/Documents/wiki && nvim ~/Documents/wiki/index.md"; lg = "lazygit"; }; envExtra = ''