bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Expanding aliases to full command before execution


From: address@hidden
Subject: Expanding aliases to full command before execution
Date: Tue, 3 Apr 2012 17:22:22 -0400

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

-- 
Justin Randall


reply via email to

[Prev in Thread] Current Thread [Next in Thread]