Use spaceship instead of ohmyzsh

This commit is contained in:
Cyryl Płotnicki 2019-06-30 16:47:38 +01:00
parent 83338826d1
commit 4a69763c0d

View file

@ -1,7 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
# Let Home Manager install and manage itself.
programs = { programs = {
home-manager.enable = true; home-manager.enable = true;
zsh = { zsh = {
@ -16,11 +15,20 @@
}; };
enableAutosuggestions = true; enableAutosuggestions = true;
enableCompletion = true; enableCompletion = true;
oh-my-zsh = { plugins = [
enable = true; {
theme = "agnoster"; name = "spaceship";
}; file = "spaceship.zsh";
sessionVariables = { EDITOR="vim"; VISUAL="vim"; PAGER="less"; }; src = pkgs.fetchgit {
url = "https://github.com/denysdovhan/spaceship-prompt";
rev = "v3.11.1";
sha256 = "0habry3r6wfbd9xbhw10qfdar3h5chjffr5pib4bx7j4iqcl8lw8";
};
}];
profileExtra = ''
source $HOME/.setenv.sh
'';
sessionVariables = { TERM="xterm-256color"; EDITOR="vim"; VISUAL="vim"; PAGER="less"; };
shellAliases = { tmate = "tmux detach-client -E 'tmate;tmux'"; }; shellAliases = { tmate = "tmux detach-client -E 'tmate;tmux'"; };
}; };
firefox.enable = true; firefox.enable = true;