Wiem, że możesz mieć plik .profilelub .bashrcplik w swoim folderze domowym, aby dostosować uruchamianie systemu Mac OS X 10.6.4 przy użyciu terminalu.
Za każdym razem, gdy uruchamiam Terminal, pojawia się wiersz z komunikatem „Masz pocztę”. Próbuję znaleźć, gdzie ta linia jest podana w moich plikach startowych, ale nie mogę znaleźć .bash .profileani .bashrcw moim katalogu domowym.
Czytałem również, że globalny plik ustawień jest /etc/profilea /etc/bashrc, ale nie wydaje się, aby powiedzieć mi coś:
/ etc / profile
# System-wide .profile for sh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
/ etc / bashrc
# System-wide .bashrc file for interactive bash(1) shells.
if [ -z "$PS1" ]; then
return
fi
PS1='\h:\W \u\$ '
# Make bash check its window size after a process completes
shopt -s checkwinsize
BTW, nie ma /etc/bash
Jakieś pomysły? Dzięki!