Skip to content

Commit

Permalink
feat(fish): configure starship
Browse files Browse the repository at this point in the history
  • Loading branch information
zakuciael committed May 31, 2024
1 parent e3e61c7 commit cc2701d
Showing 1 changed file with 76 additions and 3 deletions.
79 changes: 76 additions & 3 deletions modules/shell/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,88 @@ in {
};
};

starship.enable = true;
starship = {
enable = true;
catppuccin.enable = true;
settings = {
add_newline = true;

directory.read_only = " 󰌾";
docker_context.symbol = " ";
nix_shell.symbol = " ";
git_branch.symbol = " ";
hostname.ssh_symbol = "󰖟 ";
kubernetes = {
symbol = "󱃾 ";
detect_env_vars = ["KUBECONFIG"];
};

package.symbol = "󰏗 ";
c.symbol = " ";
cmake.symbol = " ";
golang.symbol = " ";
java.symbol = " ";
kotlin.symbol = " ";
lua.symbol = " ";
nodejs.symbol = "󰎙 ";
python.symbol = " ";
php.symbol = " ";
ruby.symbol = " ";
rust.symbol = " ";
dotnet.symbol = "󰪮 ";
gradle.symbol = " ";

os.symbols = {
Alpaquita = " ";
Alpine = " ";
Amazon = " ";
Android = " ";
Arch = " ";
Artix = " ";
CentOS = " ";
Debian = " ";
DragonFly = " ";
Emscripten = " ";
EndeavourOS = " ";
Fedora = " ";
FreeBSD = " ";
Garuda = "󰛓 ";
Gentoo = " ";
HardenedBSD = "󰞌 ";
Illumos = "󰈸 ";
Linux = " ";
Mabox = " ";
Macos = " ";
Manjaro = " ";
Mariner = " ";
MidnightBSD = " ";
Mint = " ";
NetBSD = " ";
NixOS = " ";
OpenBSD = "󰈺 ";
openSUSE = " ";
OracleLinux = "󰌷 ";
Pop = " ";
Raspbian = " ";
Redhat = " ";
RedHatEnterprise = " ";
Redox = "󰀘 ";
Solus = "󰠳 ";
SUSE = " ";
Ubuntu = " ";
Unknown = " ";
Windows = "󰍲 ";
};
};
};

fish = {
enable = true;
catppuccin.enable = true;
shellAliases = {
re = "nh os switch -H ${hostname} && echo -e '\\033[32m>\\033[0m Done!'";
re = "nh os switch -H ${hostname} && echo -e '\\033[32m>\\033[0m Done!";
nfu = "nix flake update";
repl = "nix repl -f '<nixpkgs>'";
repl = "nix repl -f '<nixpkgs>";
vim = "nvim";

# Programs
Expand Down

0 comments on commit cc2701d

Please sign in to comment.