feat: Add more stuff

This commit is contained in:
2024-11-14 10:15:05 +05:00
parent 6bef6874b7
commit f1d4ed4e58
8 changed files with 307 additions and 7 deletions

View File

@@ -7,14 +7,26 @@
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
initExtraFirst = ''
[[ "$TERM" == "linux" ]] && return
'';
initExtra = ''
source <(nh completions --shell zsh)
eval "$(zoxide init zsh)"
[[ -z "$TERM" ]] && exec tmux
'';
shellAliases = {
update = "sudo nixos-rebuild switch --flake ~/.dotfiles && home-manager switch --flake ~/.dotfiles";
".." = "cd ..";
ls = "exa";
vim = "nvim";
grep = "rg";
du = "dust";
rm = "rip";
cp = "xcp";
update-os = "nh os switch ~/.dotfiles";
update-home = "nh home switch ~/.dotfiles";
};
history = {