|
From: | Steven W. Orr |
Subject: | Re: Expanding aliases to full command before execution |
Date: | Tue, 03 Apr 2012 22:25:22 -0400 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 |
On 4/3/2012 5:22 PM, jrrandall@gmail.com wrote:
Hi everyone, In bash, is it possible to expand my aliases either before they are executed or when they are stored in the history file? For example, if I have: alias ll='ls -l' defined in my .bashrc, when I execute "ll" from the command line, I'd like my history file to contain "ls -l". Is there any way to accomplish this? Thanks, Justin
M-C-e -- Time flies like the wind. Fruit flies like a banana. Stranger things have .0. happened but none stranger than this. Does your driver's license say Organ ..0 Donor?Black holes are where God divided by zero. Listen to me! We are all- 000 individuals! What if this weren't a hypothetical question? steveo at syslang.net
[Prev in Thread] | Current Thread | [Next in Thread] |