Add . to zsh wordchars, add .local/bin to path

This commit is contained in:
Sam W 2022-01-17 18:20:05 +00:00
parent 2ec8cfe6d7
commit ad7e4474fb
1 changed files with 2 additions and 1 deletions

View File

@ -4,8 +4,9 @@ let mypkgs = (import ../modules/pkgs.nix { inherit pkgs; });
in {
home.packages = mypkgs.all;
home.sessionVariables = {
"PATH" = "$HOME/.local/bin:$PATH";
"EDITOR" = "vim";
"WORDCHARS" = "\${WORDCHARS/\\/}"; # ctrl-w on paths without make angery
"WORDCHARS" = "\${WORDCHARS//[\\/.]/}"; # ctrl-w on paths without make angery
};
programs = {
home-manager.enable = true;