mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Update
This commit is contained in:
parent
74b64ab6f1
commit
8f2a8b7c78
15 changed files with 182 additions and 526 deletions
|
|
@ -10,7 +10,7 @@
|
|||
programs = {
|
||||
nix-index.enable = false;
|
||||
|
||||
exa.enable = true;
|
||||
eza.enable = true;
|
||||
|
||||
zoxide = {
|
||||
enable = true;
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
enableZshIntegration = true;
|
||||
defaultCommand = "rg --files --hidden";
|
||||
changeDirWidgetOptions = [
|
||||
"--preview 'exa --icons --git --color always -T -L 3 {} | head -200'"
|
||||
"--preview 'eza --icons --git --color always -T -L 3 {} | head -200'"
|
||||
"--exact"
|
||||
];
|
||||
};
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
|
||||
shellAliases = with pkgs; with lib; {
|
||||
rebuild = "doas nix-store --verify; pushd ~/.config/dotfiles && doas nixos-rebuild switch --flake .# && notify-send \"Done\" && bat cache --build; popd";
|
||||
update = "doas nix-store --verify; pushd ~/.config/dotfiles && doas nixos-rebuild switch --upgrade-all --flake .# && notify-send \"Done\" && bat cache --build; popd";
|
||||
update = "doas nix-store --verify; pushd ~/.config/dotfiles && nix flake udpate && doas nixos-rebuild switch --upgrade-all --flake .# && notify-send \"Done\" && bat cache --build; popd";
|
||||
cleanup = "doas nix-collect-garbage --delete-older-than 7d";
|
||||
bloat = "nix path-info -Sh /run/current-system";
|
||||
cat = "${getExe bat} --style=plain";
|
||||
|
|
@ -112,9 +112,9 @@
|
|||
l = "ls -lF --time-style=long-iso --icons";
|
||||
sc = "sudo systemctl";
|
||||
scu = "systemctl --user ";
|
||||
la = "${getExe exa} -lah";
|
||||
ls = "${getExe exa} -h --git --icons --color=auto --group-directories-first -s extension";
|
||||
tree = "${getExe exa} --tree --icons --tree";
|
||||
la = "${getExe eza} -lah";
|
||||
ls = "${getExe eza} -h --git --icons --color=auto --group-directories-first -s extension";
|
||||
tree = "${getExe eza} --tree --icons --tree";
|
||||
burn = "pkill -9";
|
||||
diff = "diff --color=auto";
|
||||
".." = "cd ..";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue