mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-18 17:11:39 +01:00
zsh fixes
This commit is contained in:
parent
1737739b73
commit
bfd108d5a7
2 changed files with 7 additions and 3 deletions
|
@ -1,6 +1,11 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.command-not-found.enable = false;
|
||||
environment.systemPackages = with pkgs; [
|
||||
fzf
|
||||
bat
|
||||
exa
|
||||
];
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
@ -10,6 +15,7 @@
|
|||
l = "ls -l";
|
||||
ll = "ls -la";
|
||||
la = "ls -a";
|
||||
less = "bat";
|
||||
switch = "sudo nixos-rebuild switch && cat ${../images/another-cat-2.sixel}";
|
||||
update = "cd /etc/nixos && nix flake update && cat ${../images/another-cat.sixel}";
|
||||
garbage = "sudo nix-collect-garbage -d && cat ${../images/cat-garbage.sixel}";
|
||||
|
@ -28,7 +34,7 @@
|
|||
theme = "agnoster";
|
||||
};
|
||||
|
||||
shellInit =
|
||||
interactiveShellInit =
|
||||
''
|
||||
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
|
||||
|
||||
|
|
|
@ -56,8 +56,6 @@
|
|||
|
||||
trash-cli # better rm
|
||||
ripgrep # better grep
|
||||
exa # ls but with icons
|
||||
bat # better less
|
||||
duf # better df
|
||||
gnumake
|
||||
gdb
|
||||
|
|
Loading…
Reference in a new issue