Use another git config for work machine
This commit is contained in:
19
systems/modules/home/programs/zsh.nix
Normal file
19
systems/modules/home/programs/zsh.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.file.".zsh/fastfetch.jsonc".source =
|
||||
./fastfetch/config.jsonc;
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "agnoster";
|
||||
};
|
||||
|
||||
initContent = ''
|
||||
# Use kitty's ssh helper if running inside kitty
|
||||
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user