Use spaceship instead of ohmyzsh
This commit is contained in:
parent
83338826d1
commit
4a69763c0d
1 changed files with 14 additions and 6 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue