mirror of
https://github.com/materusPL/nixos-config
synced 2025-07-17 03:34:25 +02:00
home-profile: add extract plugin to zsh
This commit is contained in:
parent
a1eccd4d77
commit
ee7bcb1c0d
@ -41,6 +41,8 @@ let
|
|||||||
sha256 = "sha256-ES5vJXHjAKw/VHjWs8Au/3R+/aotSbY7PWnWAMzCR8E=";
|
sha256 = "sha256-ES5vJXHjAKw/VHjWs8Au/3R+/aotSbY7PWnWAMzCR8E=";
|
||||||
});
|
});
|
||||||
sudo = makePlugin "sudo" "sudo.plugin.zsh" "${pkgs.oh-my-zsh}/share/oh-my-zsh/plugins/sudo";
|
sudo = makePlugin "sudo" "sudo.plugin.zsh" "${pkgs.oh-my-zsh}/share/oh-my-zsh/plugins/sudo";
|
||||||
|
extract = makePlugin "extract" "extract.plugin.zsh" "${pkgs.oh-my-zsh}/share/oh-my-zsh/plugins/extract";
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
@ -98,6 +100,9 @@ in
|
|||||||
if [[ -f "${extraPlugins.sudo.fullPath}" ]]; then
|
if [[ -f "${extraPlugins.sudo.fullPath}" ]]; then
|
||||||
source "${extraPlugins.sudo.fullPath}"
|
source "${extraPlugins.sudo.fullPath}"
|
||||||
fi
|
fi
|
||||||
|
if [[ -f "${extraPlugins.extract.fullPath}" ]]; then
|
||||||
|
source "${extraPlugins.extract.fullPath}"
|
||||||
|
fi
|
||||||
''
|
''
|
||||||
}'';
|
}'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user