commit 7dc0b7c337168388bcbdc2e9c8562591801d188f Author: lixulun Date: Wed Mar 25 14:05:42 2026 +0800 init repo diff --git a/, b/, new file mode 100755 index 0000000..6fbe681 --- /dev/null +++ b/, @@ -0,0 +1,16 @@ +#!/usr/bin/env ruby + +puts %q[This is a "comma script", meaning a script starts with a comma. +The benefit is: type "," and press TAB, and you can see all comma scripts! +] + +puts '' + +puts 'Shell: ' + `echo $SHELL` +puts "PATH: #{ENV['PATH'].split(':').size} paths [Please run ',path' to view path list]" + +puts '' + +puts 'Ruby version: ' + `/usr/bin/env ruby -v` +puts 'Python version: ' + `/usr/bin/env python --version` + diff --git a/,path b/,path new file mode 100755 index 0000000..4d99e71 --- /dev/null +++ b/,path @@ -0,0 +1,5 @@ +#!/usr/bin/env ruby + +ENV['PATH'].split(':').map do |path| + puts path +end