Skip to content

Instantly share code, notes, and snippets.

Working on the secret project

Henrik Nygren nygrenh

Working on the secret project
  • Helsinki, Finland
View GitHub Profile
nygrenh / shell.rb
Created Aug 19, 2016
Simplest possible shell, written in Ruby
View shell.rb
loop do
print "#{Dir.pwd} $ "
command = gets.chomp
if command.start_with? 'cd '
Dir.chdir command.split[1]
puts `#{command}`
View Keybase

Keybase proof

I hereby claim:

  • I am nygrenh on github.
  • I am nygrenh ( on keybase.
  • I have a public key ASCSOif-nYmwteW-zNOQcdC0jfn6pW3m42BXuguZfwUypwo

To claim this, I am signing this object: