Re: Jessie - Strange Alias Problem

2016-10-17 Thread Thomas Schmitt
Hi, Stephen P. Molnar wrote: > None of the alias's work. That would be the effect of unalias -a or of a subshell which exits before you try to execute "l" again $ ( alias xyz='echo xyz' ; alias xyz ) ; alias xyz alias xyz='echo xyz' bash: alias: xyz: not found Have a nice day :) Tho

Re: Jessie - Strange Alias Problem

2016-10-17 Thread Greg Wooledge
On Mon, Oct 17, 2016 at 03:32:20PM -0400, Stephen P. Molnar wrote: > None of the alias's work. Please show us what you're doing. What commands are you running in between the point where the alias works, and the point where it does not work? What happens when you run "l" after the latter point?

RE: Jessie - Strange Alias Problem

2016-10-17 Thread Stephen P. Molnar
-Original Message- From: Thomas Schmitt [mailto:scdbac...@gmx.net] Sent: Monday, October 17, 2016 3:18 PM To: debian-user@lists.debian.org Subject: Re: Jessie - Strange Alias Problem Hi, S. P. Molnar wrote: > comp@AbNormal:~$ trap > ... > comp@AbNormal:~$ echo "$PROMPT_C

Re: Jessie - Strange Alias Problem

2016-10-17 Thread Thomas Schmitt
Hi, S. P. Molnar wrote: > comp@AbNormal:~$ trap > ... > comp@AbNormal:~$ echo "$PROMPT_COMMAND" These do not look like they could be the culprit. > comp@AbNormal:~$ alias > alias adt='/home/comp/Apps/MGLTools-latest/bin/adt' > alias l='ls -l --color' > alias ls='ls --color=auto' > alias mopac='

Re: Jessie - Strange Alias Problem

2016-10-17 Thread S. P. Molnar
On 10/17/2016 01:41 PM, Thomas Schmitt wrote: Hi, S. P. Molnar wrote: -bash: alias: l: not found The command which makes this reproducible for me is unalias l Greg Wooledge wrote: [...] DEBUG trap [...] PROMPT_COMMAND [...] [...] alias or function overriding the cd command. So many in

Re: Jessie - Strange Alias Problem

2016-10-17 Thread Thomas Schmitt
Hi, S. P. Molnar wrote: > > -bash: alias: l: not found The command which makes this reproducible for me is unalias l Greg Wooledge wrote: > [...] DEBUG trap [...] PROMPT_COMMAND [...] > [...] alias or function overriding the cd command. So many interesting ways to shoot the own foot. @S. P

Re: Jessie - Strange Alias Problem

2016-10-17 Thread Greg Wooledge
On Mon, Oct 17, 2016 at 12:53:41PM -0400, S. P. Molnar wrote: > comp@AbNormal:~$ alias l > -bash: alias: l: not found Use "type l" immediately after sourcing the .bashrc file. Then do it again, then do your cd, then do it a third time. If the .bashrc is simply malformed, then the alias ought not

Re: Jessie - Strange Alias Problem

2016-10-17 Thread S. P. Molnar
On 10/17/2016 12:55 PM, Thomas Schmitt wrote: Hi, i wrote: What exactly do you mean by "[to] source" ? Stephen P. Molnar wrote: source /home/comp/.bashrc I had already tested with . ~/.bashrc Now re-tried with source ~/.bashrc and the same result. I get colors if there are color-wort

Re: Jessie - Strange Alias Problem

2016-10-17 Thread Thomas Schmitt
Hi, i wrote: > > What exactly do you mean by "[to] source" ? Stephen P. Molnar wrote: > source /home/comp/.bashrc I had already tested with . ~/.bashrc Now re-tried with source ~/.bashrc and the same result. I get colors if there are color-worthy files. When it does not work for you, what

RE: Jessie - Strange Alias Problem

2016-10-17 Thread Stephen P. Molnar
-Original Message- From: Thomas Schmitt [mailto:scdbac...@gmx.net] Sent: Monday, October 17, 2016 12:27 PM To: debian-user@lists.debian.org Subject: Re: Jessie - Strange Alias Problem Hi, S. P. Molnar wrote: > I have the following line in my /home/comp/.bashrc; alias l=&#x

Re: Jessie - Strange Alias Problem

2016-10-17 Thread Thomas Schmitt
Hi, S. P. Molnar wrote: > I have the following line in my /home/comp/.bashrc; > alias l='ls -l --color' > If I source the file in my /home/comp it works - once!, and only in my home > directory!!! What exactly do you mean by "[to] source" ? > If I change to another directory - it doesn't work!

Jessie - Strange Alias Problem

2016-10-17 Thread S. P. Molnar
I am running an up to date Jessie with the bash shell and have encountered a very strange problem. I have the following line in my /home/comp/.bashrc; alias l='ls -l --color' If I source the file in my /home/comp it works - once!, and only in my home directory!!! If I change to another dire

Re: Jessie - Strange Alias Problem

2016-10-17 Thread Greg Wooledge
On Mon, Oct 17, 2016 at 10:34:11AM -0400, S. P. Molnar wrote: > I have the following line in my /home/comp/.bashrc; > > alias l='ls -l --color' > > If I source the file in my /home/comp it works - once!, and only in my > home directory!!! If I change to another directory - it doesn't work! Us

update-fonts-alias problem

2007-10-15 Thread Jude DaShiell
update-fonts-alias misc on a debian system here isn't making any fonts.alias file in /usr/share/fonts/X11/misc/ so fixed font cannot be used and xwindows won't start. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Alias problem

2004-05-13 Thread Aldous Huxley
Whether I am he or he is me, it's all relative to your doors of perception.  :)[EMAIL PROTECTED] wrote: Are you really called Aldous Huxley, or is this just an "alias problem"? :)...most of my signature quotations are from "you"!! Thanks for all thoseenlightening toughts :

Re: Alias problem

2004-05-13 Thread Aldous Huxley
Great advice.  Thanks to all.   Problem solved! Do you Yahoo!?Yahoo! Movies - Buy advance tickets for 'Shrek 2'

Re: Alias problem

2004-05-13 Thread s. keeling
Incoming from Aldous Huxley: > Whenever I create the alias: [alias 'ls=ls --color=auto'] it works > just fine until I log out and then log back in, then, magically, it's > not there. Why doesn't linux save these changes to disk? That's a feature. The way to do this is: - try it out at the co

Re: Alias problem

2004-05-13 Thread Colin Watson
On Thu, May 13, 2004 at 06:49:16AM -0700, Aldous Huxley wrote: > Whenever I create the alias: [alias 'ls=ls --color=auto'] it works > just fine until I log out and then log back in, then, magically, it's > not there. Why doesn't linux save these changes to disk? Because it doesn't work that way (

Re: Alias problem

2004-05-13 Thread Thomas Adam
--- Aldous Huxley <[EMAIL PROTECTED]> wrote: > Whenever I create the alias: [alias 'ls=ls --color=auto'] it works just > fine until I log out and then log back in, then, magically, it's not > there. Why doesn't linux save these changes to disk? Alias are added to ~/.bashrc To do this though,

Re: Alias problem

2004-05-13 Thread David Cannings
On Thursday 13 May 2004 14:49, Aldous Huxley wrote: > Whenever I create the alias: [alias 'ls=ls --color=auto'] it works just > fine until I log out and then log back in, then, magically, it's not > there. Why doesn't linux save these changes to disk? Try adding the alias command to ~/.profile, ~

Alias problem

2004-05-13 Thread Aldous Huxley
Whenever I create the alias: [alias 'ls=ls --color=auto'] it works just fine until I log out and then log back in, then, magically, it's not there.  Why doesn't linux save these changes to disk?     Do you Yahoo!?Yahoo! Movies - Buy advance tickets for 'Shrek 2'