refactoring shell stuff

This commit is contained in:
Matt Nish-Lapidus 2025-07-01 12:19:01 -04:00
parent b2ce760a59
commit 8f62ae3202
8 changed files with 86 additions and 83 deletions

View file

@ -4,22 +4,14 @@
programs.nushell = {
enable = true;
shellAliases = {
"em" = "emacsclient -n -r";
"ls" = "ls -m";
"ll" = "ls -m";
"la" = "ls -am";
"lz" = "eza -l";
"lza" = "eza -al";
"emm" = "emacsclient -nw";
"gtr" = "gtrash restore";
"rmr" = "gtrash restore";
"rm" = "gtrash put";
"lg" = "lazygit";
"cat" = "bat --plain";
"y" = "wezterm --config-file ~/.config/wezterm/launcher.lua start --always-new-process --cwd (pwd) yazi &";
"sbcl" = "rlwrap sbcl";
"yabup" = "yabridgectl sync --prune";
"y" = "job spawn { wezterm --config-file ~/.config/wezterm/launcher.lua start --always-new-process --cwd (pwd) yazi }";
};
# configFile.source = ./config.nu;
configFile.source = ./config.nu;
loginFile.text = ''
${pkgs.figlet}/bin/figlet -f ($env.HOME)/.local/share/flf/wavy.flf (hostname)
'';