aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/zsh.nix
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-03-29 14:51:43 +0200
committerSimen A. W. Olsen <hello@simenandre.no>2026-03-29 14:51:43 +0200
commit566b26ae0974c5c8663ac9326bafc2f57e57b2e3 (patch)
treea0e224c4972c96da349b2cc72eb77827d5d3c4a0 /modules/home/zsh.nix
parenta71d60fe8063869c3150a49eab9c29c5eb4dd86e (diff)
downloaddotfiles-566b26ae0974c5c8663ac9326bafc2f57e57b2e3.tar.gz
dotfiles-566b26ae0974c5c8663ac9326bafc2f57e57b2e3.zip
refactor: move Go to home-manager, replace znap, add new taps and /push skill
Diffstat (limited to 'modules/home/zsh.nix')
-rw-r--r--modules/home/zsh.nix16
1 files changed, 1 insertions, 15 deletions
diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix
index d2f56f3..3154e8a 100644
--- a/modules/home/zsh.nix
+++ b/modules/home/zsh.nix
@@ -1,12 +1,6 @@
{ pkgs, ... }:
let
- znap = pkgs.fetchFromGitHub {
- owner = "marlonrichert";
- repo = "zsh-snap";
- rev = "main";
- hash = "sha256-wNxNraqlY3Uy4RTUl/2IwJqfUDz/mqILq5QPNrWZxi8=";
- };
zsh-autocomplete = pkgs.fetchFromGitHub {
owner = "marlonrichert";
repo = "zsh-autocomplete";
@@ -28,7 +22,6 @@ let
in
{
home.file = {
- ".zsh_repos/znap".source = znap;
".zsh_repos/marlonrichert/zsh-autocomplete".source = zsh-autocomplete;
".zsh_repos/zsh-users/zsh-autosuggestions".source = zsh-autosuggestions;
".zsh_repos/jeffreytse/zsh-vi-mode".source = zsh-vi-mode;
@@ -71,11 +64,7 @@ in
# https://github.com/koalaman/shellcheck/issues/809
# shellcheck disable=SC1090 # sourced filenames with variables
- zstyle ':znap:*' repos-dir ~/.zsh_repos
- source ~/.zsh_repos/znap/znap.zsh # Start Znap
-
- znap eval starship 'starship init zsh --print-full-init'
- znap prompt
+ eval "$(starship init zsh)"
source ~/.zsh_repos/marlonrichert/zsh-autocomplete/zsh-autocomplete.plugin.zsh
source ~/.zsh_repos/zsh-users/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh
@@ -140,10 +129,7 @@ in
fi
}
- GOPATH="$HOME/go"
-
add_to_path "$HOME/.volta/bin"
- add_to_path "$GOPATH/bin"
add_to_path "/Library/Frameworks/Firebird.framework/Resources/bin"
add_to_path "/opt/homebrew/opt/libpq/bin"
'';