post murex

This commit is contained in:
atagen 2025-02-23 16:23:14 +11:00
parent 7485de646a
commit d429476553
29 changed files with 341 additions and 840 deletions

View file

@ -1,5 +1,4 @@
_:
{
_: {
programs.atuin = {
enable = true;
enableZshIntegration = true;

View file

@ -37,7 +37,7 @@ in
color14 = bright.cyan;
color15 = bright.white;
sync_to_monitor = "yes";
# shell = "elvish";
shell = "fish";
};
};
}

View file

@ -1,88 +0,0 @@
{ pkgs, ... }:
{
programs.murex = {
enable = true;
direnv = true;
managePlugins = true;
profile = ''
config: set shell auto-cd true
config: set proc force-tty true
function fresh {
clear
echo
~/.nix/header.sh
}
function mnt {
mount -> column -t -> culr -t 80 -o roygbiv-split
}
function la_culr (!path: str) {
if { is-null $path } {
eza -lha --group-directories-first --icons --color=always -> culr -t 80 -o roygbiv-split
} else {
eza -lha --group-directories-first --icons --color=always $path -> culr -t 80 -o roygbiv-split
}
}
function ls_culr (!path: str) {
if { is-null $path } {
eza -lh --group-directories-first --icons --color=always -> culr -t 80 -o roygbiv-split
} else {
eza -lh --group-directories-first --icons --color=always $path -> culr -t 80 -o roygbiv-split
}
}
function ps_culr (!cmd: str) {
if { is-null $cmd } {
ps ww | culr -t 80 -o roygbiv-split
} else {
ps ww$cmd | culr -t 80 -o roygbiv-split
}
}
alias gs=git status
alias gcl=git clone
alias ga=git add
alias gcb=git checkout -b
alias gco=git checkout
alias gl=git pull
alias gp=git push
alias gd=git diff
alias gcam=git commit -am
alias gcm=git commit -m
alias gr=git restore
alias gm=git merge
alias l=ls_culr
alias la=la_culr
alias p=ps_culr
alias z=j
fresh
'';
plugins =
let
inherit (pkgs)
murex-jump
murex-starship
;
in
[
murex-jump
murex-starship
];
};
programs.starship = {
enable = true;
};
home.packages =
let
inherit (pkgs) jump;
in
[
jump
];
}

View file

@ -9,15 +9,17 @@
mkhl.direnv
barbosshack.crates-io
vadimcn.vscode-lldb
kamadorueda.alejandra
kend.dancehelixkey
hikionori.kanagawa-vscode-theme
dbaeumer.vscode-eslint
ms-vscode.extension-test-runner
];
mutableExtensionsDir = false;
userSettings = {
"window.titleBarStyle" = "custom";
"editor.fontFamily" = "${pkgs.rice.fonts.monospace.name}";
"editor.fontSize" = 12;
"editor.formatOnSave" = true;
"workbench.colorTheme" = "KanagawaTheme";
"rust-analyzer.debug.engine" = "vadimcn.vscode-lldb";
"rust-analyzer.inlayHints.chainingHints.enable" = false;
@ -25,6 +27,11 @@
"rust-analyzer.inlayHints.typeHints.enable" = false;
"nix.enableLanguageServer" = true;
"nix.serverPath" = "nil";
"nix.serverSettings" = {
nil.formatting.command = [
"nixfmt"
];
};
};
};
}