up
This commit is contained in:
6
modules/home-manager/base/shell/aliases.nix
Normal file
6
modules/home-manager/base/shell/aliases.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
home.shellAliases = {
|
||||
v = "nvim";
|
||||
lg = "lazygit";
|
||||
};
|
||||
}
|
||||
9
modules/home-manager/base/shell/fish.nix
Normal file
9
modules/home-manager/base/shell/fish.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
set fish_greeting # Disable greeting
|
||||
set -gx LS_COLORS "$(vivid generate catppuccin-latte)"
|
||||
'';
|
||||
};
|
||||
}
|
||||
34
modules/home-manager/base/shell/starship.nix
Normal file
34
modules/home-manager/base/shell/starship.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{lib, ...}: {
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
settings = {
|
||||
add_newline = true;
|
||||
command_timeout = 750;
|
||||
|
||||
format = lib.concatStrings [
|
||||
"$directory"
|
||||
"$git_branch"
|
||||
"$git_status"
|
||||
"$git_metrics"
|
||||
"$line_break"
|
||||
"$character"
|
||||
];
|
||||
|
||||
character = {
|
||||
success_symbol = "[❯](bold green)";
|
||||
error_symbol = "[❯](bold red)";
|
||||
};
|
||||
|
||||
git_branch = {
|
||||
format = " [ $branch]($style) ";
|
||||
};
|
||||
|
||||
git_metrics = {
|
||||
disabled = false;
|
||||
added_style = "bold green";
|
||||
format = "[+$added]($added_style)/[-$deleted]($deleted_style) ";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
5
modules/home-manager/base/shell/zsh.nix
Normal file
5
modules/home-manager/base/shell/zsh.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user