How to execute eval?
vinamelody opened this issue · comments
Vina Melody commented
Hi, how can I auto print this eval "$(curl -sL check.vapor.sh)"
and run upon enter?
I'm using zsh but i tried this and iTerm is printing the shell of vapor.sh it seems...
#!/usr/bin/env bash
########################
# include the magic
########################
. demo-magic.sh
########################
# Configure the options
########################
DEMO_PROMPT="${GREEN}➜ ${CYAN}\W "
# hide the evidence
clear
# Put your stuff here
p "eval \"$(curl -sL check.vapor.sh)\""
Vina Melody commented
oops sorry, found the solution, i should type pe 'eval "$(curl -sL check.vapor.sh)"'