|
|
|
|
#1 |
|
Prospect
Join Date: Nov 2002
Posts: 19
|
Help with .bashrc
Just switched to OS 10.3. In 10.2 I was able to use a .tcshrc file in my home directory to influence the terminal's behavior. In 10.3 it appears that the default terminal app has switched to bash. For some reason I am not able to get my terminal to respond/recognize the .bashrc file I created with pico. Is there something that I'm missing here? Did I forget to do something? Any help is appreciated.
-Onyx |
|
|
|
|
|
#2 | |||||||||||||||||||
|
Major Leaguer
Join Date: Dec 2003
Location: Oxford
Posts: 371
|
Re: Help with .bashrc
__________________
New OS X User ,1.25 GHz G4 Powerbook with Superdrive Mac OS X Panther |
|||||||||||||||||||
|
|
|
|
|
#3 |
|
Prospect
Join Date: Jul 2003
Location: Switzerland
Posts: 49
|
Stupid historical issue...
Create another file called .bash_profile in your home directory and enter the following code in it: Code:
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi christian |
|
|
|
|
|
#4 |
|
Prospect
Join Date: Nov 2002
Posts: 19
|
thanks!
That appeared to work -by entering the command into the .bash_profile.
Now another stupid question.... Based on reading other posts it looks like you enter aliases in bash just like in tcsh (e.g. alias xxx 'alias here'). Strangely aliases in my .bashrc file come with the error message: -bash: alias: xxx: not found What's that about!?! Sorry for the newbie questions.. bash is sort of new to me. Thanks for the help! -Onyx |
|
|
|
|
|
#5 |
|
Prospect
Join Date: Jul 2003
Location: Switzerland
Posts: 49
|
Not stupid. The syntax changed and is now:
Code:
alias newcommand="old command line" Code:
man bash Bye, christian |
|
|
|
|
|
#6 |
|
Prospect
Join Date: Jan 2002
Location: Solothurn, Switzerland
Posts: 9
|
christian,
seems to me that there is something different under 10.3 -> can't specifiy paths with umlauts not sure if this is really new - didn't use the terminal often in the past few months is there a way to specify paths/filenames containing umlauts? strange: I can use umlauts on my dektop G5 - but not on the powerbook (both 10.3.3) thank you very much! markus Last edited by mschneider; 03-17-2004 at 05:48 PM. |
|
|
|
|
|
#7 |
|
Prospect
Join Date: Jul 2003
Location: Switzerland
Posts: 49
|
Guten Abend... ;-)
Well, I have more troubles with umlauts now in Panther too, but never really bothered to do something about it. I'm not sure whether it has something to do with the terminal-type specified in the preferences or another setting. So sorry, I can't help you there. Bye, christian |
|
|
|
|
|
#8 |
|
Prospect
Join Date: Jan 2002
Location: Solothurn, Switzerland
Posts: 9
|
path (umlauts) by drag&drop
well, glad that I'm not the only one
I believe that it depends on settings - but couldn't do anything to be able to set path by drag and drop again. Changed the shell (csh, tcsh), terminal settings, but got just an error when did a 'cd blahblah' ('blahblah' by drag&drop; containing umlauts). Couldn't find a setting that shows umlauts (only esc-seq.) in the command line the reason for this trying: Got a CD from a WinMachine with Filemaker files... they were all read-only (after copying to the HD!) - then I tried to 'chmod' all of them in one step Finally, I copied the folder containing these files to the desktop and did this 'chmod' Later on, I realized that there is a directory-name in my path that causes the problems (it's in the middle of the path) After stepping through the path one-by-one, I could access the files - but not via drag&drop. path to long?? But it cut some letters in the middle.. strange thanks markus |
|
|
|
|
|
#9 |
|
Prospect
Join Date: Jul 2003
Location: Switzerland
Posts: 49
|
Hey, maybe I can invite you over to www.osxserver.ch. It's a swiss forum and perhaps somebody there can help you.
Bye, christian |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|