![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]() Code:
$ cat /etc/profile | grep -i pkg_list alias pkg_list='lynx -dump $PKG_PATH/index.txt >$HOME/pkglist.txt' $ pkg_list ksh: pkg_list: not found |
|
|||
![]()
sw2wolf, I assume from your explanation in the following:
http://www.daemonforums.org/showpost...88&postcount=5 ...means you have identified the problem as being associated with the mirror used, & now your alias is no longer questioned. In the future, please take the time to fully explain whatever issues you may be encountering. All we have to go by are your descriptions, & taking such severe shortcuts in explaing the problem makes it difficult to impossible for your readers to understand what you are experiencing. Last edited by ocicat; 31st March 2012 at 04:48 PM. Reason: grammar |
|
|||
![]()
sorry for my poor English. But it is not the same question.
Here, if i run `alias pkg_list='lynx -dump $PKG_PATH/index.txt >$HOME/pkglist.txt' ` at command line, then i can run pkg_list. However, if i put it in /etc/profile, then there is no pkg_list available. Sincerely! |
|
|||
![]()
aliases belong in your ~/.kshrc or /etc/ksh.kshrc file. Only environmental variables go in /etc/profile.
|
|
|||
![]()
@puffy: You can define aliases in your "~/.profile", that is not the problem
![]() @sw2wolf. Make sure you have this in your ~/.Xdefaults file: Code:
$ cat .Xdefaults XTerm*loginShell:true
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
![]()
@J65nko
thanks, it works now. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
declare same alias twice, alias values are different, why ? | cq04cw | Programming | 5 | 29th March 2011 01:24 PM |
How to make delays between multiple commands in an alias (ircII) | guitarscn | Programming | 3 | 23rd September 2010 12:36 AM |
Changing MAC address to an alias interface? | DNAeon | FreeBSD General | 6 | 20th January 2009 04:48 PM |
Mounting NAS as apache alias directory | Yuka | FreeBSD General | 7 | 18th July 2008 02:58 PM |
ip alias confusion | hamba | FreeBSD General | 2 | 5th June 2008 10:23 AM |