Compare commits

..

No commits in common. "07be39befdddf0b200f8fc53f25d83c5198e5f0d" and "e8d9643f875bead59074308afc2f41bf2975a9ab" have entirely different histories.

4 changed files with 71 additions and 23 deletions

View file

@ -59,8 +59,8 @@
package = packages.${system}."iosevka-custom-nerdfont";
};
emoji = {
name = "Noto Color Emoji";
package = noto-fonts-emoji;
name = "EmojiOne Color";
package = emojione;
};
};
};

View file

@ -12,23 +12,18 @@
# Shell
shfmt
shellcheck
nodePackages.prettier
# Lua
(luajit.withPackages
(ps: [(ps.callPackage ./luarocks/scilua.nix {})]))
(luajit.withPackages (ps: [(ps.callPackage ./luarocks/scilua.nix {})]))
luarocks-nix
lua-language-server
stylua
# Python
(python3.withPackages
(ps: with ps; [python-lsp-server mypy isort]))
ruff
# JavaScript / TypeScript
nodejs
nodePackages.typescript-language-server
nodePackages.eslint
# Fortran
gfortran
fortls
];
}

View file

@ -3,19 +3,21 @@
enable = true;
enableTransience = true;
settings = {
c = {symbol = " ";};
command_timeout = 1000;
container = {symbol = " ";};
add_newline = false;
character = {
success_symbol = "[󰁔 ](bold green)";
error_symbol = "[󰁔 ](bold red)";
success_symbol = "[>](bold green)";
error_symbol = "[>](bold red)";
};
command_timeout = 2000;
container = {symbol = " ";};
directory = {
truncation_length = 2;
fish_style_pwd_dir_length = 1;
read_only = "󰉐 ";
truncate_to_repo = false;
};
direnv = {disabled = false;};
line_break.disabled = false;
git_branch = {
symbol = " ";
only_attached = true;
@ -26,7 +28,7 @@
tag_symbol = " ";
tag_disabled = false;
};
git_metrics = {disabled = false;};
git_metrics.disabled = false;
git_status = {
stashed = " ";
ahead = " ";
@ -41,29 +43,80 @@
untracked = " ";
typechanged = " ";
};
golang = {symbol = " ";};
guix_shell = {symbol = " ";};
haskell = {symbol = " ";};
hostname = {
ssh_only = true;
ssh_symbol = "󰢹 ";
};
jobs = {symbol = "󰈏 ";};
line_break = {disabled = false;};
java = {symbol = " ";};
localip = {disabled = false;};
memory_usage = {disabled = false;};
lua = {symbol = " ";};
memory_usage = {
disabled = false;
symbol = " ";
};
nix_shell.symbol = "󱄅 ";
os = {
disabled = false;
format = "on [$symbol]($style) ";
style = "bold blue";
symbols = {
Alpine = " ";
Android = " ";
Arch = " ";
CentOS = " ";
Debian = " ";
EndeavourOS = " ";
Fedora = " ";
FreeBSD = " ";
Gentoo = " ";
Illumos = " ";
Linux = " ";
Macos = " ";
Manjaro = " ";
Mint = "󰣭 ";
NixOS = " ";
OpenBSD = " ";
openSUSE = " ";
Pop = " ";
Raspbian = " ";
Redhat = " ";
RedHatEnterprise = " ";
Solus = " ";
SUSE = " ";
Ubuntu = " ";
Unknown = " ";
Windows = " ";
};
};
python = {python_binary = "python3";};
package = {symbol = " ";};
python = {
symbol = "󰌠 ";
python_binary = "python3";
};
rust = {symbol = "󱘗 ";};
shell = {
disabled = false;
format = "using [$indicator ]($style)";
nu_indicator = "ν";
};
status = {
disabled = false;
map_symbol = true;
pipestatus = true;
symbol = " ";
success_symbol = "";
not_executable_symbol = " ";
not_found_symbol = " ";
sigint_symbol = " ";
signal_symbol = " ";
};
sudo = {
disabled = false;
symbol = " ";
};
sudo = {disabled = false;};
};
};
}

View file

@ -14,7 +14,7 @@ zle-line-init() {
local saved_prompt=$PROMPT
local saved_rprompt=$RPROMPT
PROMPT='󰁔 '
PROMPT='> '
RPROMPT=''
zle .reset-prompt
PROMPT=$saved_prompt