From 6bba951305d67601a7fe44f9e242a19e538ae5a0 Mon Sep 17 00:00:00 2001 From: mat ess Date: Mon, 4 Jul 2022 18:00:05 -0400 Subject: [PATCH] small updates --- darwin/bootstrap.nix | 2 +- home/default.nix | 1 + home/kitty.nix | 7 ++++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/darwin/bootstrap.nix b/darwin/bootstrap.nix index 0b0a813..aae53a3 100644 --- a/darwin/bootstrap.nix +++ b/darwin/bootstrap.nix @@ -41,7 +41,7 @@ programs.fish.shellInit = '' for p in (string split : ${config.environment.systemPath}) if not contains $p $fish_user_paths - set -g fish_user_paths $fish_user_paths $p + set -Ua fish_user_paths $p end end ''; diff --git a/home/default.nix b/home/default.nix index e427965..28fe056 100644 --- a/home/default.nix +++ b/home/default.nix @@ -94,6 +94,7 @@ # Dev stuff cloc # source code line counter + doctl # command line tools for digitalocean flyctl # command line tools for fly.io jq # json processor pijul # alternative to `git` diff --git a/home/kitty.nix b/home/kitty.nix index e0a0a08..57de712 100644 --- a/home/kitty.nix +++ b/home/kitty.nix @@ -49,7 +49,8 @@ in # Colors config ------------------------------------------------------------------------------ {{{ programs.kitty.extras.colors = let - theme = pkgs.lib.colors.tokyonight; in + theme = pkgs.lib.colors.tokyonight; + in { enable = true; common = theme.common; @@ -71,6 +72,10 @@ in set --prepend fish_complete_path "$KITTY_INSTALLATION_DIR/shell-integration/fish/vendor_completions.d" end ''; + programs.fish.shellAliases = { + s = "kitty +kitten ssh"; + e = "edit-in-kitty"; + }; # }}} # Fix icon config