17 lines
426 B
Bash
Executable File
17 lines
426 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
echo "This is a \"comma script\", meaning a script starts with a comma."
|
|
echo "The benefit is: type \",\" and press TAB, and you can see all comma scripts!"
|
|
|
|
echo ""
|
|
|
|
echo "Shell:" $(echo $SHELL)
|
|
echo "PATH:" $(echo "$PATH" | tr ':' '\n' | wc -l) "paths [Please run ',path' to view path list]"
|
|
|
|
echo ""
|
|
|
|
echo "Ruby version:" $(/usr/bin/env ruby -v)
|
|
echo "Python version:" $(/usr/bin/env python --version)
|
|
|