Date: Wed, 17 Jun 2009 22:02:17 -0400 From: Steve Bertrand <steve@ibctech.ca> To: Glen Barber <glen.j.barber@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Changing my login directory Message-ID: <4A39A029.2030805@ibctech.ca> In-Reply-To: <4A399742.1050402@ibctech.ca> References: <4A3994BC.1000600@ibctech.ca> <4ad871310906171819h7b1ce0d8l489497df293c87c2@mail.gmail.com> <4A399742.1050402@ibctech.ca>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Steve Bertrand wrote:
> Glen Barber wrote:
>>> I'd like to make it so that '~' remains /home/steve, but when I log in,
>>> I would prefer to be dropped immediately into /home/steve/devel.
>>>
>>> csh is (always) my shell, and I'm on 7.2.
>>>
>>> Instead of writing a login script, I'm wondering if there's a more
>>> native approach to get what I'm after.
>>>
>> You can always add:
>> cd $HOME/devel/something
>>
>> to $HOME/.login
>
> %echo "cd /home/steve/devel" >> /home/steve/.login
> %exit
I'd like to add for archive purposes, that with csh, adding the
following within the 'if' block in .cshrc will provide a prompt that
includes the current working directory, without the full path (which I
also wanted:
set prompt = "%c1 % "
Output:
~/devel % ll
total 16
drwxr-xr-x 7 steve steve 512 Jun 17 13:06 EagleLedger
drwxr-xr-x 6 steve steve 512 Jun 17 17:01 EagleSanity
drwxr-xr-x 7 steve steve 512 Jun 17 16:00 EagleTransac
drwxr-xr-x 5 steve steve 512 Jun 17 13:09 EagleUser
drwxr-xr-x 4 steve steve 512 Jun 12 13:20 RadiusMgmt
drwxr-xr-x 2 steve steve 512 Jun 17 12:48 dump
drwxr-xr-x 10 steve steve 512 Jun 17 16:37 eagleaccounting
drwxr-xr-x 2 steve steve 512 Jun 15 11:47 examples
~/devel % cd EagleTransac/
EagleTransac %
...that makes it a *lot* easier when I'm making changes[1].
Steve
[1]. Some may wonder why I don't have all Perl modules under one Eagle
umbrella. The only reason is because SVN stores rev numbers globally,
which throws off the package management system. I need to know which
version of which package is installed.
I've got ideas for writing something that aggregates the revs so I can
have all of ::these in one location, but during development, I need
version separation without having to fix version issues.
The nice thing is, is that all modules are Eagle::, so consolidating
won't be difficult later (ie won't affect APIs).
[-- Attachment #2 --]
0 *H
010 + 0 *H
00CK9AbxIUw0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090507231610Z
100507231610Z0B10UThawte Freemail Member10 *H
steve@ibctech.ca0"0
*H
0
DZ杙<2IⵀfrsE6q?0.>
S@Œ!V?A\Q
r-aZ
Ōf/0{OYQhɏߴ
F_\Q0BF=<_.a*3epeY|t ݼcvlҷ+@piQA{2E9WN4[Z`h6VM/zPbd(G C^K6XV4j<t -0+0U0steve@ibctech.ca0U0 0
*H
æ|85aQz-*3HG .s*Fw*`HvFw;9ytƘn0taC/:WC+LÙ{Oq 1 n00CK9AbxIUw0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090507231610Z
100507231610Z0B10UThawte Freemail Member10 *H
steve@ibctech.ca0"0
*H
0
DZ杙<2IⵀfrsE6q?0.>
S@Œ!V?A\Q
r-aZ
Ōf/0{OYQhɏߴ
F_\Q0BF=<_.a*3epeY|t ݼcvlҷ+@piQA{2E9WN4[Z`h6VM/zPbd(G C^K6XV4j<t -0+0U0steve@ibctech.ca0U0 0
*H
æ|85aQz-*3HG .s*Fw*`HvFw;9ytƘn0taC/:WC+LÙ{Oq 1 n0?0
0
*H
010 UZA10UWestern Cape10U Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H
personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
*H
0 Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr` 00U0 0CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
*H
HP.
fgCL!6-6/P p<ab:~ t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1d0`0v0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0 + 0 *H
1 *H
0 *H
1
090618020217Z0# *H
1;| :f*b0R *H
1E0C0
*H
0*H
0
*H
@0+0
*H
(0 +71x0v0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0*H
1xv0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0
*H
3
t+֟N!Bfh'7W&EK'ULLSx`]v/n)7-q:4Y~ Kgn-BK
9̍VV;j KrW7% $78^&,[٥=Ҥ?\|یUoD3(=jYvR(;<W"i%w >&"]7z Z˺527aRpyS:N*Gv
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A39A029.2030805>
