a little refactoring to prepare for the vps
This commit is contained in:
		
							parent
							
								
									cbf77c4cbe
								
							
						
					
					
						commit
						012ba5e6f4
					
				
					 5 changed files with 233 additions and 83 deletions
				
			
		
							
								
								
									
										91
									
								
								home-manager/program-configs/zsh.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										91
									
								
								home-manager/program-configs/zsh.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,91 @@
 | 
			
		|||
{
 | 
			
		||||
  inputs,
 | 
			
		||||
  outputs,
 | 
			
		||||
  lib,
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  programs.zsh = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    plugins = [
 | 
			
		||||
      {
 | 
			
		||||
        name = "zsh-nix-shell";
 | 
			
		||||
        file = "nix-shell.plugin.zsh";
 | 
			
		||||
        src = pkgs.fetchFromGitHub {
 | 
			
		||||
          owner = "chisui";
 | 
			
		||||
          repo = "zsh-nix-shell";
 | 
			
		||||
          rev = "v0.7.0";
 | 
			
		||||
          sha256 = "149zh2rm59blr2q458a5irkfh82y3dwdich60s9670kl3cl5h2m1";
 | 
			
		||||
        };
 | 
			
		||||
      }
 | 
			
		||||
    ];
 | 
			
		||||
    enableAutosuggestions = true;
 | 
			
		||||
    enableCompletion = true;
 | 
			
		||||
    historySubstringSearch.enable = true;
 | 
			
		||||
    syntaxHighlighting.enable = true;
 | 
			
		||||
    zsh-abbr.enable = true;
 | 
			
		||||
    oh-my-zsh = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      plugins = [
 | 
			
		||||
        "git"
 | 
			
		||||
        "adb"
 | 
			
		||||
        "battery"
 | 
			
		||||
        "branch"
 | 
			
		||||
        "coffee"
 | 
			
		||||
        "colored-man-pages"
 | 
			
		||||
        "colorize"
 | 
			
		||||
        "command-not-found"
 | 
			
		||||
        "common-aliases"
 | 
			
		||||
        "compleat"
 | 
			
		||||
        "composer"
 | 
			
		||||
        "copypath"
 | 
			
		||||
        "copybuffer"
 | 
			
		||||
        "copyfile"
 | 
			
		||||
        "cp"
 | 
			
		||||
        "dirhistory"
 | 
			
		||||
        "dirpersist"
 | 
			
		||||
        "docker"
 | 
			
		||||
        "docker-compose"
 | 
			
		||||
        "extract"
 | 
			
		||||
        "fancy-ctrl-z"
 | 
			
		||||
        "fastfile"
 | 
			
		||||
        "frontend-search"
 | 
			
		||||
        "git-auto-fetch"
 | 
			
		||||
        "git-escape-magic"
 | 
			
		||||
        "git-extras"
 | 
			
		||||
        "git-flow"
 | 
			
		||||
        "github"
 | 
			
		||||
        "gitignore"
 | 
			
		||||
        "gnu-utils"
 | 
			
		||||
        "gpg-agent"
 | 
			
		||||
        "history"
 | 
			
		||||
        "history-substring-search"
 | 
			
		||||
        "isodate"
 | 
			
		||||
        "jsontools"
 | 
			
		||||
        "keychain"
 | 
			
		||||
        "man"
 | 
			
		||||
        "nanoc"
 | 
			
		||||
        "pip"
 | 
			
		||||
        "pipenv"
 | 
			
		||||
        "pyenv"
 | 
			
		||||
        "python"
 | 
			
		||||
        "rsync"
 | 
			
		||||
        "rvm"
 | 
			
		||||
        "screen"
 | 
			
		||||
        "sdk"
 | 
			
		||||
        "sfdx"
 | 
			
		||||
        "shell-proxy"
 | 
			
		||||
        "sudo"
 | 
			
		||||
        "systemadmin"
 | 
			
		||||
        "systemd"
 | 
			
		||||
        "themes"
 | 
			
		||||
        "urltools"
 | 
			
		||||
        "web-search"
 | 
			
		||||
        "zsh-interactive-cd"
 | 
			
		||||
        "zsh-navigation-tools"
 | 
			
		||||
      ];
 | 
			
		||||
      theme = "jtriley";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue