sm/sm — Issue #40: `sm version` fails with "version:1: command not found: 0.10.1"
Author: msabramo
Created: 2011-12-17 19:41:10+00:00
State: open

```
marca@SCML-MarcA:~/dev/git-repos$ git clone https://github.com/sm/sm.git
Cloning into 'sm'...
remote: Counting objects: 25923, done.
remote: Compressing objects: 100% (10754/10754), done.
remote: Total 25923 (delta 12445), reused 25868 (delta 12393)
Receiving objects: 100% (25923/25923), 2.93 MiB | 285 KiB/s, done.
Resolving deltas: 100% (12445/12445), done.
marca@SCML-MarcA:~/dev/git-repos$ cd sm
marca@SCML-MarcA:~/dev/git-repos/sm$ sudo ./install
Password:
module_path=(/usr/lib/zsh/4.3.9)
module_path=(/usr/lib/zsh/4.3.9)
module_name=''
__sm_rebuilded_path=/Users/marca/dev/git-repos/sm/exts/active/install/shell/
module_path=(/Users/marca/dev/git-repos/sm/core/install/shell/)
module_name=install
...
__sm_command_words=1
[ ] Setting up sm shell completion (/)... log_step_message='Setting up sm shell completion (/)'
[✔] Setting up sm shell completion (/)
__sm_command_detected='is root'
__sm_command_dotted=is.root
__sm_command_words=2
__sm_command_detected=enter
__sm_command_dotted=enter
__sm_command_words=1
S{cripting,ystem,tack} Management (SM) Framework (Core) installed.
marca@SCML-MarcA:~/dev/git-repos/sm$ /opt/sm/bin/sm
marca@SCML-MarcA:~/dev/git-repos/sm$ /opt/sm/bin/sm version
version:1: command not found: 0.10.1

A command has returned error code '(127)' without being handled.

+# source file # function()
============================================================================================================================================================================================================================================
vim +1 version # version
vim +470 /opt/sm/core/sm/shell/log/functions # __sm.actions.source
vim +130 /opt/sm/core/sm/shell/core/initialize # /opt/sm/core/sm/shell/core/initialize
vim +29 /opt/sm/bin/sm # /opt/sm/bin/sm
============================================================================================================================================================================================================================================