gedp Posted June 7, 2013 Share Posted June 7, 2013 Hi, Just upgraded to V2 and redefining my scripts from v1. When adding a "Run Script" to the workflow, only "bash" end "zsh" are shown. Not "ksh". Is it possible to add the korn shell, or are these shells buildin? Geert Link to comment
jdfwarrior Posted June 8, 2013 Share Posted June 8, 2013 Hi, Just upgraded to V2 and redefining my scripts from v1. When adding a "Run Script" to the workflow, only "bash" end "zsh" are shown. Not "ksh". Is it possible to add the korn shell, or are these shells buildin? Geert Really weird, I could have sworn I replied to this thread this morning from my iPad. Anyway, sorry for the delayed response but, yes Alfred will only use shells and languages that come preinstalled with OSX. I'm not sure what all versions this covers but, my current installation of 10.8.4 has ksh available a default shell in /bin. Nobody had requested it previously so, I can't promise anything but submitting this in the feature requests section could potentially get it added to the list. For the time being though, if you are looking to create workflows that make use of the ksh shell, you could always start your script by executing ksh which I THINK should swap to using it as the default shell for the session. So, example.. ksh echo "This is a test from ksh" Would swap to the ksh shell for executing the commands following it. Link to comment
gedp Posted June 10, 2013 Author Share Posted June 10, 2013 David, Thanks for the info. It wasn't a real problem and indeed, one can add #!/bin/ksh on top of the script. Geert Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now