Compare commits

...

2 Commits

Author SHA1 Message Date
tux
37869b01bd fix: zsh_history symlinking issue with impermanence 2025-05-25 16:21:22 +05:30
tux
a1e8a2edf5 feat: update zsh config 2025-05-25 16:10:22 +05:30
5 changed files with 24 additions and 13 deletions

View File

@ -4,9 +4,7 @@
"Projects" "Projects"
"Stuff" "Stuff"
".ssh" ".ssh"
]; ".local/share/zsh"
files = [
".zsh_history"
]; ];
allowOther = true; allowOther = true;
}; };

View File

@ -86,6 +86,7 @@
".config/rustdesk" ".config/rustdesk"
".config/spotify" ".config/spotify"
".local/share/nvim" ".local/share/nvim"
".local/share/zsh"
".local/share/zoxide" ".local/share/zoxide"
".local/share/Smart\ Code\ ltd" ".local/share/Smart\ Code\ ltd"
".local/share/GalaxyBudsClient" ".local/share/GalaxyBudsClient"
@ -94,7 +95,6 @@
".cache/spotify" ".cache/spotify"
]; ];
files = [ files = [
".zsh_history"
".wakatime.cfg" ".wakatime.cfg"
]; ];
allowOther = true; allowOther = true;

View File

@ -7,11 +7,11 @@
".wakatime" ".wakatime"
".config/sops" ".config/sops"
".local/share/nvim" ".local/share/nvim"
".local/share/zsh"
".local/share/zoxide" ".local/share/zoxide"
".local/state/lazygit" ".local/state/lazygit"
]; ];
files = [ files = [
".zsh_history"
".wakatime.cfg" ".wakatime.cfg"
]; ];
allowOther = true; allowOther = true;

View File

@ -3,9 +3,7 @@
directories = [ directories = [
"Projects" "Projects"
".ssh" ".ssh"
]; ".local/share/zsh"
files = [
".zsh_history"
]; ];
allowOther = true; allowOther = true;
}; };

View File

@ -3,23 +3,32 @@
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;
path = "$HOME/.local/share/zsh/.zsh_history";
}; };
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 +44,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 +67,6 @@
nvtopPackages.full nvtopPackages.full
zellij zellij
nix-output-monitor nix-output-monitor
fzf
duf duf
jq jq
atac atac