feat(yazi): added lg on ;

swapped default : and ; behaivor
This commit is contained in:
WinterEkisha committed 2026-11-21 17:00:18 -08:00
1 parent 4a84ee5711
commit c70a2212d7
2 files changed
+15 -3

No files matched your search

+5 -3
View File
@@ -12,15 +12,14 @@
]; ];
home.packages = ( home.packages = (
(with pkgs; [ (with pkgs; [
# --- Core Wayland plumbing (Stable 26.05) --- (pkgs.writeShellScriptBin "lg" ''exec ${pkgs.lazygit}/bin/lazygit "$@"'')
wl-clipboard
]) ])
++ (with pkgs.unstablePkgs; [ ++ (with pkgs.unstablePkgs; [
# --- Fast-moving CLI utils (Unstable) ---
clipse clipse
timg timg
]) ])
); );
# --- Shell environment --- # --- Shell environment ---
programs.direnv.enable = true; programs.direnv.enable = true;
home.shellAliases = { home.shellAliases = {
@@ -28,6 +27,7 @@
la = "ls -a"; la = "ls -a";
lal = "ls -al"; lal = "ls -al";
}; };
programs.fish = { programs.fish = {
enable = true; enable = true;
shellAliases = { shellAliases = {
@@ -40,6 +40,7 @@
please = "sudo"; please = "sudo";
}; };
}; };
home.shell.enableFishIntegration = true; home.shell.enableFishIntegration = true;
programs.bash = { programs.bash = {
enable = true; enable = true;
@@ -65,6 +66,7 @@
user.email = "149337190+WinterEkisha@users.noreply.github.com"; user.email = "149337190+WinterEkisha@users.noreply.github.com";
}; };
}; };
programs.eza.enable = true; programs.eza.enable = true;
programs.bat.enable = true; programs.bat.enable = true;
programs.btop.enable = true; programs.btop.enable = true;
+10
View File
@@ -38,6 +38,16 @@
run = ''shell 'wl-copy --type "$(file --mime-type -b "$1")" < "$1"' --confirm''; run = ''shell 'wl-copy --type "$(file --mime-type -b "$1")" < "$1"' --confirm'';
desc = "Copy file data to clipboard with matching MIME type"; desc = "Copy file data to clipboard with matching MIME type";
} }
{
on = ";";
run = "shell --interactive --block";
desc = "Run a shell command (block until finish)";
}
{
on = ":";
run = "shell --interactive";
desc = "Run a shell command (yazi background)";
}
]; ];
}; };
}; };