Update zsh completions

This commit is contained in:
jgrogan 2025-07-14 09:32:17 +01:00
parent 47497e3b27
commit 6d68026ebb
2 changed files with 12 additions and 12 deletions

View file

@ -11,6 +11,8 @@
pkgs.htop
];
environment.pathsToLink = [ "/share/zsh" ];
# Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes";

View file

@ -1,18 +1,8 @@
{ config, pkgs, ... }:
{
home.stateVersion = "25.05";
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
#
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "25.05"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = [
pkgs.graphviz
pkgs.jq
@ -33,7 +23,15 @@
# echo "Hello, ${config.home.username}!"
# '')
];
programs.zsh.enable = true;
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
sessionVariables = {CLICOLOR = 1;};
shellAliases = {pyact = "source .venv/bin/activate";};
};
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.