Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #33 from v4hn/lsh-eval

lsh: make sure we actually _evaluate_ the command line
  • Loading branch information...
commit af487b9da8ff68b207ed2b5370e3c3f15718640a 2 parents 108afe4 + b05617e
@sofar sofar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  prog/lsh
View
2  prog/lsh
@@ -10,7 +10,7 @@
set_priority
if (( $# > 0 )) ; then
- $@
+ eval "$@"
else
export PS1="\[\033[0;31m\][lunar] \u@\h \w \\$ \[\033[0m\]"
message "\n ${PROBLEM_COLOR}Warning:${DEFAULT_COLOR}${MESSAGE_COLOR}" \
Please sign in to comment.
Something went wrong with that request. Please try again.