Terminal ~ / .profile non contiene 'source ~ / .bashrc' in OS X 10.9.1

0

Il terminale viene mostrato di seguito in questa fase sulla pagina di installazione di gerris: link

Note: make sure that the file ~/.profile contains the line
source ~/.bashrc

Ma ~ / .profile non contiene source ~ / .bashrc. Come posso gestirlo?

GNU nano 2.0.6        File: /Users/samirebalta/.profile                     


# MacPorts Installer addition on 2014-01-21_at_11:48:31: adding an appropriate $
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.


##
# Your previous /Users/samirebalta/.profile file was backed up as /Users/samire$
##

# MacPorts Installer addition on 2014-01-21_at_12:00:12: adding an appropriate $
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.


##
# Your previous /Users/samirebalta/.profile file was backed up as /Users/samire$
##

                               [ Read 23 lines ]
^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos
^X Exit      ^J Justify   ^W Where Is  ^V Next Page ^U UnCut Text^T To Spell
    
posta Meva 26.01.2014 - 17:29
fonte

1 risposta

1

Aggiungi source ~/.bashrc alla fine del tuo file ~/.profile , salvalo e riavvia il terminale.

Hai un file ~/.bash_profile ? Tieni presente che se hai sia ~/.profile che ~/.bash_profile , ~/.profile non verrà originato all'avvio di Terminal.app.

    
risposta data 26.01.2014 - 18:18
fonte

Leggi altre domande sui tag