LINUX.ORG.RU

.cshrc добавить файл


0

0

Подскажите, plz, как правильно в cshrc подключить настройки из другого файла?
В bashrc это делается с помощью команды source <путь к файлу>.
Спасибо!

Ответ на: комментарий от spike_by
           source name
           source -h name
                   The shell reads commands from name.  source commands may be
                   nested; if they are nested too deeply the shell may run out
                   of file descriptors.  An error in a source at any level
                   terminates all nested source commands.  Normally input dur‐
                   ing source commands is not placed on the history list; the
                   -h option causes the commands to be placed on the history
                   list without being executed.

Из мануала. Проверил - работает.

GotF ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.