Fix deprecated zsh configuration and remove vi keymapping
- Replace deprecated initExtra with initContent - Remove defaultKeymap viins for standard emacs-style bindings 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
c0bba829c2
commit
950a276d44
1 changed files with 1 additions and 2 deletions
3
zsh.nix
3
zsh.nix
|
|
@ -3,7 +3,6 @@
|
|||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
defaultKeymap = "viins";
|
||||
enableVteIntegration = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
|
|
@ -34,7 +33,7 @@
|
|||
hms = "home-manager switch --flake ~/.config/nix#yanlin";
|
||||
};
|
||||
|
||||
initExtra = ''
|
||||
initContent = ''
|
||||
# Load Powerlevel10k theme
|
||||
if [[ -f ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme ]]; then
|
||||
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue