OSiUX <xu...@osiux.com.ar> writes:

> Hi, in the past I ask *How to use alias and bash builtin functions?*
>
> http://lists.gnu.org/archive/html/emacs-orgmode/2013-12/msg00205.html
>
> The solution:
>
>   (setq org-babel-sh-command "bash -i")
>
> But now don't work anymore :-(
>

Works for me:

(setq org-babel-sh-command "bash -i")
"bash -i"

--8<---------------cut here---------------start------------->8---
    #+BEGIN_SRC sh :results output
       history | wc -l
       alias | wc -l
    #+END_SRC

    #+RESULTS:
    : 1000
    : 6
--8<---------------cut here---------------end--------------->8---

Org-mode version 8.2.6 (release_8.2.6-901-g91da1b @
/home/nick/elisp/org-mode/lisp/)

> My Org-mode version:
>
> 8.2.5h release_8.2.5h-660-gef207f
>

--
Nick


Reply via email to