forked from mirrors/nixpkgs
spaceship-prompt: install prompt_spaceship_setup (#94604)
just like in https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=spaceship-prompt-git
This commit is contained in:
parent
b10e79a261
commit
cb8a5e5b87
|
@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
|
|||
install -D -m644 spaceship.zsh "$out/lib/spaceship-prompt/spaceship.zsh"
|
||||
install -d "$out/share/zsh/themes/"
|
||||
ln -s "$out/lib/spaceship-prompt/spaceship.zsh" "$out/share/zsh/themes/spaceship.zsh-theme"
|
||||
install -d "$out/share/zsh/site-functions/"
|
||||
ln -s "$out/lib/spaceship-prompt/spaceship.zsh" "$out/share/zsh/site-functions/prompt_spaceship_setup"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue