Compare commits
3 commits
1dfa9a7d2a
...
8a2100ace8
Author | SHA1 | Date | |
---|---|---|---|
8a2100ace8 | |||
703e7a90d5 | |||
d2871cb4c5 |
2 changed files with 4 additions and 12 deletions
|
@ -49,7 +49,6 @@
|
|||
enableZshIntegration = false;
|
||||
};
|
||||
lazygit.enable = true;
|
||||
nix-index.enable = true;
|
||||
zoxide.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,11 +1,4 @@
|
|||
{ config
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
gnome-keyring-daemon = "${pkgs.gnome-keyring}/bin/gnome-keyring-daemon";
|
||||
in
|
||||
{
|
||||
{ config, pkgs, lib, ... }: {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
defaultKeymap = "viins";
|
||||
|
@ -15,13 +8,13 @@ in
|
|||
history = {
|
||||
expireDuplicatesFirst = true;
|
||||
extended = true;
|
||||
ignoreDups = true;
|
||||
ignoreSpace = true;
|
||||
path = "${config.xdg.dataHome}/zsh/zsh_history";
|
||||
};
|
||||
envExtra = lib.optionalString config.services.gnome-keyring.enable ''export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/keyring/ssh"'';
|
||||
initExtra = ''
|
||||
bindkey -v '^?' backward-delete-char
|
||||
|
||||
eval $(${gnome-keyring-daemon} -s -d 2> /dev/null)
|
||||
export SSH_AUTH_SOCK
|
||||
'';
|
||||
shellAliases = {
|
||||
cat = "${pkgs.bat}/bin/bat";
|
||||
|
|
Loading…
Reference in a new issue