mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
zsh configs
This commit is contained in:
parent
eb91bb1617
commit
1304d72517
2 changed files with 21 additions and 4 deletions
|
|
@ -35,6 +35,7 @@
|
|||
tmux
|
||||
tree
|
||||
zoxide
|
||||
zsh-powerlevel10k
|
||||
|
||||
# GUI
|
||||
alt-tab-macos
|
||||
|
|
|
|||
|
|
@ -201,10 +201,26 @@
|
|||
|
||||
# Create /etc/zshrc that loads the nix-darwin environment.
|
||||
# this is required if you want to use darwin's default shell - zsh
|
||||
programs.zsh.enable = true;
|
||||
environment.shells = [
|
||||
pkgs.zsh
|
||||
];
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
enableFastSyntaxHighlighting = true;
|
||||
enableFzfCompletion = true;
|
||||
enableFzfGit = true;
|
||||
enableFzfHistory = true;
|
||||
promptInit = ''
|
||||
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
||||
'';
|
||||
};
|
||||
|
||||
environment = {
|
||||
shells = [
|
||||
pkgs.zsh
|
||||
];
|
||||
shellAliases = {
|
||||
rebuild = "darwin-rebuild switch --flake ~/.config/nix-darwin";
|
||||
};
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Asia/Seoul";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue