From: Nick Dokos <ndokos@gmail.com> To: emacs-orgmode@gnu.org Subject: Re: bash alias and history in code block (again) Date: Tue, 22 Apr 2014 14:43:35 -0400 [thread overview] Message-ID: <87bnvtcii0.fsf@alphaville.bos.redhat.com> (raw) In-Reply-To: <20140415123446.GA20512@localhost> OSiUX <xuiso@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
prev parent reply other threads:[~2014-04-22 18:44 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-04-15 12:34 OSiUX 2014-04-17 10:30 ` Bastien 2014-04-22 17:57 ` OSiUX 2014-04-22 18:43 ` Nick Dokos [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://www.orgmode.org/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=87bnvtcii0.fsf@alphaville.bos.redhat.com \ --to=ndokos@gmail.com \ --cc=emacs-orgmode@gnu.org \ --subject='Re: bash alias and history in code block (again)' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Code repositories for project(s) associated with this inbox: https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).