chore: move zsh under shells
This commit is contained in:
parent
f9ccfb738c
commit
1efae8ed1b
3 changed files with 51 additions and 48 deletions
51
users/profiles/shells/zsh.nix
Normal file
51
users/profiles/shells/zsh.nix
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
{ config, lib, ... }: {
|
||||||
|
programs = {
|
||||||
|
zsh = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
enableCompletion = true;
|
||||||
|
# enableSyntaxHighlighting = true;
|
||||||
|
enableVteIntegration = true;
|
||||||
|
|
||||||
|
dotDir = ".config/zsh";
|
||||||
|
|
||||||
|
history.path = "$ZDOTDIR/.zsh_history";
|
||||||
|
|
||||||
|
oh-my-zsh = {
|
||||||
|
enable = true;
|
||||||
|
plugins = [
|
||||||
|
# Display
|
||||||
|
"colorize"
|
||||||
|
"colored-man-pages"
|
||||||
|
|
||||||
|
# zsh modifications
|
||||||
|
"zsh-interactive-cd"
|
||||||
|
"zsh_reload"
|
||||||
|
"command-not-found"
|
||||||
|
|
||||||
|
# Aliases
|
||||||
|
"alias-finder"
|
||||||
|
|
||||||
|
# Applications
|
||||||
|
## Docker
|
||||||
|
"docker"
|
||||||
|
## Python
|
||||||
|
"pip"
|
||||||
|
"python"
|
||||||
|
## Systemd
|
||||||
|
"systemd"
|
||||||
|
## Git
|
||||||
|
"git"
|
||||||
|
"github"
|
||||||
|
"gitignore"
|
||||||
|
## Emacs
|
||||||
|
"emacs"
|
||||||
|
## Vim
|
||||||
|
"fancy-ctrl-z"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
starship.enableZshIntegration = lib.mkIf config.programs.starship.enable true;
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,7 +2,6 @@
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
enableZshIntegration = true;
|
|
||||||
|
|
||||||
settings = { };
|
settings = { };
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,47 +0,0 @@
|
||||||
{ ... }: {
|
|
||||||
programs.zsh = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
enableCompletion = true;
|
|
||||||
# enableSyntaxHighlighting = true;
|
|
||||||
enableVteIntegration = true;
|
|
||||||
|
|
||||||
dotDir = ".config/zsh";
|
|
||||||
|
|
||||||
history.path = "$ZDOTDIR/.zsh_history";
|
|
||||||
|
|
||||||
oh-my-zsh = {
|
|
||||||
enable = true;
|
|
||||||
plugins = [
|
|
||||||
# Display
|
|
||||||
"colorize"
|
|
||||||
"colored-man-pages"
|
|
||||||
|
|
||||||
# zsh modifications
|
|
||||||
"zsh-interactive-cd"
|
|
||||||
"zsh_reload"
|
|
||||||
"command-not-found"
|
|
||||||
|
|
||||||
# Aliases
|
|
||||||
"alias-finder"
|
|
||||||
|
|
||||||
# Applications
|
|
||||||
## Docker
|
|
||||||
"docker"
|
|
||||||
## Python
|
|
||||||
"pip"
|
|
||||||
"python"
|
|
||||||
## Systemd
|
|
||||||
"systemd"
|
|
||||||
## Git
|
|
||||||
"git"
|
|
||||||
"github"
|
|
||||||
"gitignore"
|
|
||||||
## Emacs
|
|
||||||
"emacs"
|
|
||||||
## Vim
|
|
||||||
"fancy-ctrl-z"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue