add starship to terminal

current_state
Christian Ott 1 year ago
parent 7c3a5a4312
commit 87c58b3eb4
  1. 27
      home.nix

@ -47,6 +47,33 @@
enable = true; enable = true;
lfs.enable = true; lfs.enable = true;
}; };
programs.bash = {
enable = true;
historyIgnore = [ "l" "ls" "ll" "cd" "exit" ];
historyControl = [ "erasedups" ];
shellAliases = {
grep = "grep --color=auto";
".." = "cd ..";
};
initExtra = ''
# Custom colored bash prompt
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
'';
profileExtra = ''
# Include user's private bin if present
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
'';
};
programs.starship = {
enable = true;
enableBashIntegration = true;
};
# This value determines the home Manager release that your # This value determines the home Manager release that your
# configuration is compatible with. This helps avoid breakage # configuration is compatible with. This helps avoid breakage
# when a new home Manager release introduces backwards # when a new home Manager release introduces backwards

Loading…
Cancel
Save

Powered by TurnKey Linux.