J
jney
Hello,
I'm trying to declare a shell alias from a ruby file.
here is the file test.rb :
# begin test.rb
`alias world='echo hello'`
# end test.rb
I'm launching it :
Then launching the alias :
Does anyone know how do i declare a shell alias from a ruby file ?
I'm trying to declare a shell alias from a ruby file.
here is the file test.rb :
# begin test.rb
`alias world='echo hello'`
# end test.rb
I'm launching it :
ruby test.rb
Then launching the alias :
-bash: world: command not foundworld
Does anyone know how do i declare a shell alias from a ruby file ?