Working on starship
This commit is contained in:
+4
-21
@@ -1168,31 +1168,15 @@ in
|
||||
** =generated/system/applications/terminal_shell/starship.nix=
|
||||
This file sets up starship prompt
|
||||
#+BEGIN_SRC nix :tangle generated/system/applications/terminal_shell/starship.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
{ config, pkgs, lib, user, ... }:
|
||||
{ config, pkgs, lib, user, flakeRoot, ... }:
|
||||
{
|
||||
home-manager.users.${user.username} = {
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Catppuccin Mocha theme for Starship
|
||||
xdg.configFile."starship.toml".text = ''
|
||||
format = "$all"
|
||||
|
||||
[character]
|
||||
success_symbol = "[❯](bold green)"
|
||||
error_symbol = "[❯](bold red)"
|
||||
|
||||
[directory]
|
||||
style = "bold lavender"
|
||||
|
||||
[git_branch]
|
||||
symbol = " "
|
||||
style = "bold maroon"
|
||||
|
||||
[package]
|
||||
disabled = true
|
||||
'';
|
||||
# Use the starship.toml from your assets
|
||||
xdg.configFile."starship.toml".source = "${flakeRoot}/assets/common/conf/starship.toml";
|
||||
};
|
||||
}
|
||||
#+END_SRC
|
||||
@@ -1221,8 +1205,7 @@ in
|
||||
theme = "agnoster";
|
||||
plugins = [
|
||||
"git"
|
||||
"zsh-autosuggestions"
|
||||
# Remove "zsh-syntax-highlighting" from Oh My Zsh plugins
|
||||
"zsh-autosuggestion"
|
||||
"docker"
|
||||
"kubectl"
|
||||
"history"
|
||||
|
||||
Reference in New Issue
Block a user