mirror of
https://github.com/tuxdotrs/nixos-config.git
synced 2025-07-06 09:46:34 +05:30
feat: update zsh config
This commit is contained in:
@ -3,23 +3,31 @@
|
|||||||
bat.enable = true;
|
bat.enable = true;
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellAliases = {
|
history = {
|
||||||
ls = "lsd";
|
append = true;
|
||||||
|
share = true;
|
||||||
|
expireDuplicatesFirst = true;
|
||||||
|
ignoreDups = true;
|
||||||
|
size = 1000000;
|
||||||
|
save = 1000000;
|
||||||
};
|
};
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
autosuggestion.enable = true;
|
autosuggestion.enable = true;
|
||||||
initContent = ''
|
initContent = ''
|
||||||
fastfetch
|
fastfetch
|
||||||
export WINIT_X11_SCALE_FACTOR=1
|
export WINIT_X11_SCALE_FACTOR=1
|
||||||
|
PATH=$PATH:~/.cargo/bin:~/.local/bin
|
||||||
|
|
||||||
bindkey "^A" vi-beginning-of-line
|
bindkey "^A" vi-beginning-of-line
|
||||||
bindkey "^E" vi-end-of-line
|
bindkey "^E" vi-end-of-line
|
||||||
PATH=$PATH:~/.cargo/bin:~/.local/bin
|
bindkey '^R' fzf-history-widget
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
lazygit.enable = true;
|
lazygit.enable = true;
|
||||||
zoxide = {
|
zoxide = {
|
||||||
enable = true;
|
enable = true;
|
||||||
options = ["--cmd cd"];
|
options = ["--cmd cd"];
|
||||||
|
enableZshIntegration = true;
|
||||||
};
|
};
|
||||||
ripgrep.enable = true;
|
ripgrep.enable = true;
|
||||||
btop = {
|
btop = {
|
||||||
@ -35,11 +43,18 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
};
|
};
|
||||||
|
fzf = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
};
|
||||||
|
lsd = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
service-wrapper
|
service-wrapper
|
||||||
lsd
|
|
||||||
ranger
|
ranger
|
||||||
wget
|
wget
|
||||||
portal
|
portal
|
||||||
@ -51,7 +66,6 @@
|
|||||||
nvtopPackages.full
|
nvtopPackages.full
|
||||||
zellij
|
zellij
|
||||||
nix-output-monitor
|
nix-output-monitor
|
||||||
fzf
|
|
||||||
duf
|
duf
|
||||||
jq
|
jq
|
||||||
atac
|
atac
|
||||||
|
Reference in New Issue
Block a user