From 7dc0b7c337168388bcbdc2e9c8562591801d188f Mon Sep 17 00:00:00 2001 From: lixulun Date: Wed, 25 Mar 2026 14:05:42 +0800 Subject: [PATCH] init repo --- , | 16 ++++++++++++++++ ,path | 5 +++++ 2 files changed, 21 insertions(+) create mode 100755 , create mode 100755 ,path 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