mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 01:05:38 +00:00
run nix-shell with fish and set name in starship
This commit is contained in:
parent
b3bcd89b7e
commit
82e04dcdb1
@ -4,7 +4,7 @@
|
|||||||
programs.fish = {
|
programs.fish = {
|
||||||
shellAbbrs = {
|
shellAbbrs = {
|
||||||
n = "nix";
|
n = "nix";
|
||||||
ns = "nix-shell -p";
|
ns = "nix-shell --run fish -p";
|
||||||
nsr = "nix-shell-run";
|
nsr = "nix-shell-run";
|
||||||
nps = "nix repl '<nixpkgs>'";
|
nps = "nix repl '<nixpkgs>'";
|
||||||
nixo = "man configuration.nix";
|
nixo = "man configuration.nix";
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
style = "red";
|
style = "red";
|
||||||
};
|
};
|
||||||
nix_shell = {
|
nix_shell = {
|
||||||
format = "[$symbol]($style)";
|
format = "[$symbol $name]($style)";
|
||||||
symbol = "❄️";
|
symbol = "❄️";
|
||||||
};
|
};
|
||||||
python = { format = "[\${version}\\(\${virtualenv}\\)]($style)"; };
|
python = { format = "[\${version}\\(\${virtualenv}\\)]($style)"; };
|
||||||
|
Loading…
Reference in New Issue
Block a user