Made installer a bit better
This commit is contained in:
parent
e1c0863f60
commit
e82267f252
1 changed files with 4 additions and 4 deletions
8
install.sh
Normal file → Executable file
8
install.sh
Normal file → Executable file
|
@ -1,11 +1,11 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
[[ ! -d $HOME/.zsh ]] && mkdir $HOME/.zsh
|
[[ ! -d $HOME/.zsh ]] && mkdir $HOME/.zsh
|
||||||
cd $HOME/.zsh
|
cd $HOME/.zsh && \
|
||||||
git clone https://github.com:yogsototh/zsh_functional.git functional
|
git clone https://github.com/yogsototh/zsh_functional.git $HOME/.zsh/functional && \
|
||||||
{
|
{
|
||||||
print -- "\n# ZSH Higher Order Functions"
|
print -- "\n# ZSH Higher Order Functions"
|
||||||
echo '. $HOME/.zsh/functional/load'
|
echo '. $HOME/.zsh/functional/load'
|
||||||
} >> ~/.zshrc
|
} >> ~/.zshrc && \
|
||||||
. $HOME/.zsh/functional/load
|
. $HOME/.zsh/functional/load && \
|
||||||
print -- "\n\nCongratulation: ZSH Higer Order Functions Installed"
|
print -- "\n\nCongratulation: ZSH Higer Order Functions Installed"
|
||||||
|
|
Loading…
Reference in a new issue