feat(yazi): added lg on ;
swapped default : and ; behaivor
This commit is contained in:
1 parent
4a84ee5711
commit
c70a2212d7
2 files changed
+15
-3
No files matched your search
@@ -12,15 +12,14 @@
|
||||
];
|
||||
home.packages = (
|
||||
(with pkgs; [
|
||||
# --- Core Wayland plumbing (Stable 26.05) ---
|
||||
wl-clipboard
|
||||
(pkgs.writeShellScriptBin "lg" ''exec ${pkgs.lazygit}/bin/lazygit "$@"'')
|
||||
])
|
||||
++ (with pkgs.unstablePkgs; [
|
||||
# --- Fast-moving CLI utils (Unstable) ---
|
||||
clipse
|
||||
timg
|
||||
])
|
||||
);
|
||||
|
||||
# --- Shell environment ---
|
||||
programs.direnv.enable = true;
|
||||
home.shellAliases = {
|
||||
@@ -28,6 +27,7 @@
|
||||
la = "ls -a";
|
||||
lal = "ls -al";
|
||||
};
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
@@ -40,6 +40,7 @@
|
||||
please = "sudo";
|
||||
};
|
||||
};
|
||||
|
||||
home.shell.enableFishIntegration = true;
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
@@ -65,6 +66,7 @@
|
||||
user.email = "149337190+WinterEkisha@users.noreply.github.com";
|
||||
};
|
||||
};
|
||||
|
||||
programs.eza.enable = true;
|
||||
programs.bat.enable = true;
|
||||
programs.btop.enable = true;
|
||||
|
||||
@@ -38,6 +38,16 @@
|
||||
run = ''shell 'wl-copy --type "$(file --mime-type -b "$1")" < "$1"' --confirm'';
|
||||
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)";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user