Remove incompatible plugins
This commit is contained in:
parent
515e588327
commit
1df7541394
1 changed files with 28 additions and 28 deletions
|
@ -1,31 +1,31 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
history = {
|
||||||
|
size = 102400;
|
||||||
|
save = 102400;
|
||||||
|
ignoreDups = true;
|
||||||
|
expireDuplicatesFirst = true;
|
||||||
|
share = true;
|
||||||
|
};
|
||||||
|
enableAutosuggestions = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
history = {
|
plugins = [ "vi-mode" "git" "python" "history-substring-search" "tmux" ];
|
||||||
size = 102400;
|
};
|
||||||
save = 102400;
|
plugins = [
|
||||||
ignoreDups = true;
|
{
|
||||||
expireDuplicatesFirst = true;
|
name = "spaceship";
|
||||||
share = true;
|
file = "spaceship.zsh";
|
||||||
};
|
src = pkgs.fetchgit {
|
||||||
enableAutosuggestions = true;
|
url = "https://github.com/denysdovhan/spaceship-prompt";
|
||||||
enableCompletion = true;
|
rev = "v3.11.1";
|
||||||
oh-my-zsh = {
|
sha256 = "0habry3r6wfbd9xbhw10qfdar3h5chjffr5pib4bx7j4iqcl8lw8";
|
||||||
enable = true;
|
};
|
||||||
plugins = [ "vi-mode" "git" "python" "syntax-highlighting" "history-substring-search" "spectrum" "sshi" "prompt" "gpg" "autosuggestions" "tmux" ];
|
}];
|
||||||
};
|
|
||||||
plugins = [
|
|
||||||
{
|
|
||||||
name = "spaceship";
|
|
||||||
file = "spaceship.zsh";
|
|
||||||
src = pkgs.fetchgit {
|
|
||||||
url = "https://github.com/denysdovhan/spaceship-prompt";
|
|
||||||
rev = "v3.11.1";
|
|
||||||
sha256 = "0habry3r6wfbd9xbhw10qfdar3h5chjffr5pib4bx7j4iqcl8lw8";
|
|
||||||
};
|
|
||||||
}];
|
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
SPACESHIP_TIME_SHOW=true
|
SPACESHIP_TIME_SHOW=true
|
||||||
SPACESHIP_EXIT_CODE_SHOW=true
|
SPACESHIP_EXIT_CODE_SHOW=true
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
SPACESHIP_BATTERY_THRESHOLD=30
|
SPACESHIP_BATTERY_THRESHOLD=30
|
||||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=238'
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=238'
|
||||||
setopt HIST_IGNORE_ALL_DUPS
|
setopt HIST_IGNORE_ALL_DUPS
|
||||||
'';
|
'';
|
||||||
profileExtra = ''
|
profileExtra = ''
|
||||||
export PATH="$HOME/programs:$PATH";
|
export PATH="$HOME/programs:$PATH";
|
||||||
export PATH="$HOME/tools:$PATH";
|
export PATH="$HOME/tools:$PATH";
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
export PATH="$HOME/.rvm/bin:$PATH";
|
export PATH="$HOME/.rvm/bin:$PATH";
|
||||||
export PATH="$HOME/.cargo/bin:$PATH";
|
export PATH="$HOME/.cargo/bin:$PATH";
|
||||||
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH";
|
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH";
|
||||||
'';
|
'';
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
TERM="xterm-256color";
|
TERM="xterm-256color";
|
||||||
EDITOR="vim";
|
EDITOR="vim";
|
||||||
|
|
Loading…
Reference in a new issue