fish and jj
Some checks failed
/ lint (push) Failing after 30s

This commit is contained in:
Jana Dönszelmann 2026-03-24 08:41:29 +01:00
parent ac7e310e00
commit ae9854f178
No known key found for this signature in database
3 changed files with 238 additions and 233 deletions

View file

@ -5,10 +5,11 @@ inputs@{ machine, ... }:
inherit inputs; inherit inputs;
requirements = [ "cli" ]; requirements = [ "cli" ];
home-config = home-config =
{ config {
, pkgs config,
, lib pkgs,
, ... lib,
...
}: }:
with builtins; with builtins;
with lib.attrsets; with lib.attrsets;
@ -228,7 +229,10 @@ inputs@{ machine, ... }:
fish_add_path "$HOME/.nix-profile/bin" fish_add_path "$HOME/.nix-profile/bin"
function fish_greeting function fish_greeting
if test -e /etc/motd
else
${pkgs.blahaj}/bin/blahaj -s ${pkgs.blahaj}/bin/blahaj -s
end
echo "mrow! This is $(uname -n) and ur $(whoami) :3" echo "mrow! This is $(uname -n) and ur $(whoami) :3"
end end
''; '';
@ -239,11 +243,13 @@ inputs@{ machine, ... }:
setupTide = lib.hm.dag.entryAfter [ "writeBoundary" ] '' setupTide = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
setupTide() { setupTide() {
${pkgs.fish}/bin/fish -c ${lib.escapeShellArg "tide configure ${ ${pkgs.fish}/bin/fish -c ${lib.escapeShellArg "tide configure ${
lib.cli.toCommandLineShell (optionName: { lib.cli.toCommandLineShell
(optionName: {
option = if builtins.stringLength optionName > 1 then "--${optionName}" else "-${optionName}"; option = if builtins.stringLength optionName > 1 then "--${optionName}" else "-${optionName}";
sep = null; sep = null;
explicitBool = false; explicitBool = false;
}) { })
{
auto = true; auto = true;
style = "Lean"; style = "Lean";
prompt_colors = "True color"; prompt_colors = "True color";

View file

@ -31,7 +31,6 @@ inputs@{ machine, ... }:
default-command = [ default-command = [
"log" "log"
"--reversed"
]; ];
merge-editor = [ merge-editor = [
"${pkgs.meld}/bin/meld" "${pkgs.meld}/bin/meld"

View file

@ -14,7 +14,7 @@ inputs@{ machine, ... }:
config = '' config = ''
#command #command
#env #env
LESS=--quit-if-one-screen --ignore-case --long-prompt --tabs=4 --redraw-on-quit --use-color --RAW-CONTROL-CHARS --chop-long-lines --exit-follow-on-close +F LESS=--quit-if-one-screen --ignore-case --long-prompt --tabs=4 --redraw-on-quit --use-color --RAW-CONTROL-CHARS --chop-long-lines --exit-follow-on-close
''; '';
}; };
}; };