Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Konstantin Kushnir                   2:5080/1003    05 Sep 2005  06:02:19
 To : Yuriy Glushenko
 Subject : Re: dircolors, однако
 -------------------------------------------------------------------------------- 
 
 Hi Yuriy Glushenko!
 
 On Tue, 30 Aug 2005 20:35:48 +0600; Yuriy Glushenko wrote about 'dircolors,
 однако':
 
  YG> делаю "ls" - расцветки файлов - нет. делаю "ls --color" - расцветка
  YG> файлов на месте. в /etc файлик dircolors присутствует.
  YG> А теперь, внимание, вопрос: Как сделать так, чтобы не приходилось
  YG> постоянно использовать опцию "--color"?
 
 в /etc/profile (или еще где, но у мя там с роджения торчит):
 
 # Set up the LS_COLORS and LS_OPTIONS environment variables for color ls:
 if [ "$SHELL" = "/bin/zsh" ]; then
  eval `dircolors -z`
 elif [ "$SHELL" = "/bin/ash" ]; then
  eval `dircolors -s`
 else
  eval `dircolors -b`
 fi
 
 кста, /usr/bin/dircolors и /etc/DIR_COLORS тоже с рождения были...
 --- ifmail v.2.15dev5
  * Origin: (http://news.cca.usart.ru/) USURT's FidoNET<-> (2:5080/1003@fidonet)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 dircolors, однако   Yuriy Glushenko   30 Aug 2005 21:35:48 
 dircolors, однако   Vlad Zaritovsky   30 Aug 2005 23:37:10 
 Re: dircolors, однако   Semen Panevin   31 Aug 2005 01:24:36 
 Re: dircolors, однако   Konstantin Kushnir   05 Sep 2005 06:02:19 
Архивное /ru.linux/14646ab07bdbf.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional