summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home-manager/zsh.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-07-02 08:35:55 +0200
committermakefu <github@syntax-fehler.de>2020-07-02 08:35:55 +0200
commit884d557c755896d8b77c169148448614d8dc6638 (patch)
treeda9e90ee956163370cfdae05ebb5407ad7dd94ad /makefu/2configs/home-manager/zsh.nix
parent9579a313a13e43decac20c9aba777604b4a0e691 (diff)
ma home-manager: add mailsync, navi
Diffstat (limited to 'makefu/2configs/home-manager/zsh.nix')
-rw-r--r--makefu/2configs/home-manager/zsh.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/makefu/2configs/home-manager/zsh.nix b/makefu/2configs/home-manager/zsh.nix
index f972e98b4..862ee5df3 100644
--- a/makefu/2configs/home-manager/zsh.nix
+++ b/makefu/2configs/home-manager/zsh.nix
@@ -9,11 +9,13 @@
};
imports = [
{ #direnv
- home-manager.users.makefu.home.packages = [ pkgs.direnv pkgs.nur.repos.kalbasit.nixify ];
- # home-manager.users.makefu.home.file.".direnvrc".text = '''';
+ home-manager.users.makefu.home.packages = [
+ (pkgs.writers.writeDashBin "privatefox" "exec firefox -P Privatefox")
+ pkgs.direnv pkgs.nur.repos.kalbasit.nixify ];
+ # home-manager.users.makefu.home.file.".direnvrc".text = '''';
}
{ # bat
- home-manager.users.makefu.home.packages = [ pkgs.bat ];
+ home-manager.users.makefu.home.packages = [ pkgs.bat ];
home-manager.users.makefu.programs.zsh.shellAliases = {
cat = "bat --style=header,snip";
mirage = "sxiv"; # only available when tools/extra-gui is in use
@@ -65,8 +67,11 @@
zstyle ':completion::complete:brain::' prefix "$HOME/brain"
compdef _pass secrets
zstyle ':completion::complete:secrets::' prefix "$HOME/.secrets-pass/"
-
+
+ # navi
+ source ${pkgs.navi}/share/navi/shell/navi.plugin.zsh
# ctrl-x ctrl-e
+ autoload -U compinit && compinit
autoload -U edit-command-line
zle -N edit-command-line
bindkey '^xe' edit-command-line