[zsh] Fix
This commit is contained in:
parent
4967fbe29e
commit
29ff9c1a01
3 changed files with 9 additions and 3 deletions
|
@ -50,6 +50,7 @@ in {
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
nsxiv # Lightweight image viewer
|
nsxiv # Lightweight image viewer
|
||||||
obsidian
|
obsidian
|
||||||
|
oh-my-zsh
|
||||||
qalculate-gtk # Calculator
|
qalculate-gtk # Calculator
|
||||||
spotify
|
spotify
|
||||||
tea # Gitea CLI
|
tea # Gitea CLI
|
||||||
|
@ -100,7 +101,12 @@ in {
|
||||||
};
|
};
|
||||||
".oh-my-zsh" = {
|
".oh-my-zsh" = {
|
||||||
enable = (builtins.elem pkgs.zsh installedPkgs);
|
enable = (builtins.elem pkgs.zsh installedPkgs);
|
||||||
source = ../../../../stow/zsh/.oh-my-zsh;
|
source = "${pkgs.oh-my-zsh}/share/oh-my-zsh";
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
".oh-my-zsh/themes/tdpeuter.zsh-theme" = {
|
||||||
|
enable = (builtins.elem pkgs.zsh installedPkgs);
|
||||||
|
source = ../../../../stow/zsh/.oh-my-zsh/themes/tdpeuter.zsh-theme;
|
||||||
};
|
};
|
||||||
".vim" = {
|
".vim" = {
|
||||||
enable = (builtins.elem pkgs.vim installedPkgs);
|
enable = (builtins.elem pkgs.vim installedPkgs);
|
||||||
|
|
|
@ -11,7 +11,7 @@ final: prev: {
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/cmdtime
|
mkdir -p $out/share/cmdtime
|
||||||
cp $src/cmdtime.plugin.zsh $out/share/cmdtime.plugin.zsh
|
cp $src/cmdtime.plugin.zsh $out/share/cmdtime/cmdtime.plugin.zsh
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ fpath+="$HOME/.zsh/plugins/cmdtime"
|
||||||
plugins=(dirhistory git screen)
|
plugins=(dirhistory git screen)
|
||||||
ZSH_CUSTOM="$HOME/.oh-my-zsh"
|
ZSH_CUSTOM="$HOME/.oh-my-zsh"
|
||||||
ZSH_THEME="tdpeuter"
|
ZSH_THEME="tdpeuter"
|
||||||
# source $ZSH/oh-my-zsh.sh
|
source $ZSH_CUSTOM/oh-my-zsh.sh
|
||||||
|
|
||||||
if [[ -f "$HOME/.zsh/plugins/cmdtime/cmdtime.plugin.zsh" ]]; then
|
if [[ -f "$HOME/.zsh/plugins/cmdtime/cmdtime.plugin.zsh" ]]; then
|
||||||
source "$HOME/.zsh/plugins/cmdtime/cmdtime.plugin.zsh"
|
source "$HOME/.zsh/plugins/cmdtime/cmdtime.plugin.zsh"
|
||||||
|
|
Loading…
Reference in a new issue