Where are my shell settings..?

Discussion in 'Mac Basics and Help' started by partalos, May 30, 2009.

  1. partalos macrumors newbie

    Joined:
    May 30, 2009
    #1
    Just got a MBP Pro 17" and want to change some of my shell settings but I can't find any bash configuration in my home dir:

    Code:
    me$ cd ~
    me$ ls -al
    total 227456
    drwxr-xr-x+ 39 me  staff      1326 May 29 15:35 .
    drwxr-xr-x   5 root       admin       170 May 14 19:42 ..
    -rw-------   1 me  staff         3 May 19 17:05 .CFUserTextEncoding
    -rw-r--r--@  1 me  staff     15364 May 31 01:17 .DS_Store
    drwx------  92 me  staff      3128 May 29 20:17 .Trash
    -rw-------   1 me  staff         0 May 28 17:26 .Xauthority
    -rw-------   1 me  staff       118 May 14 22:40 .asadminpass
    -rw-------   1 me  staff       816 May 14 22:40 .asadmintruststore
    -rw-------   1 me  staff      8522 May 31 01:38 .bash_history
    -rw-r--r--   1 me  staff       110 May 27 13:47 .eclipse_keyring
    drwxr-xr-x  18 me  staff       612 May 27 22:20 .fontconfig
    -rw-------   1 me  staff        41 May 26 18:12 .lesshst
    drwxr-xr-x   3 me  staff       102 May 27 14:34 .m2
    drwx------   5 me  staff       170 May 26 18:08 .ssh
    drwxr-xr-x   6 me  staff       204 May 15 13:16 .subversion
    -rw-------   1 me  staff      5583 May 27 21:55 .viminfo
    drwx------+  9 me  staff       306 May 31 02:10 Desktop
    drwx------+ 19 me  staff       646 May 31 01:17 Documents
    drwx------+ 14 me  staff       476 May 31 02:10 Downloads
    drwx------+ 47 me  staff      1598 May 29 18:19 Library
    drwx------+  4 me  staff       136 May 15 01:14 Movies
    drwx------+  5 me  staff       170 May 15 01:10 Music
    drwx------+  5 me  staff       170 May 15 01:10 Pictures
    drwxr-xr-x+  5 me  staff       170 May 14 19:42 Public
    drwxr-xr-x   3 me  staff       102 May 27 13:40 Workspaces
    
    where is it..?
     
  2. BlueRevolution macrumors 603

    BlueRevolution

    Joined:
    Jul 26, 2004
    Location:
    Montreal, QC
    #2
    I may be wrong, but I think the file doesn't exist by default but will be respected if you create it. What settings in particular were you looking to change?
     
  3. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #3
    Right, it doesn't exist by default. You can create either a .profile or .bash_profile file (I use .profile) and add what ever settings you want there and next time you startup Terminal it will read those files.
     
  4. alphaod macrumors Core

    alphaod

    Joined:
    Feb 9, 2008
    Location:
    NYC

Share This Page