paint |
|
Темы:
14
Сообщения:
151
Участник с: 29 июня 2012
|
Погите решить такую проблему. При входе в tty , после логина, выдается такое. Как исправить?-bash: zstyle: command not found -bash: zstyle: command not found -bash: zstyle: command not found -bash: zstyle: command not found -bash: zstyle: command not found -bash: zstyle: command not found -bash: zstyle: command not found -bash: zstyle: command not found -bash: zstyle: command not found -bash: zstyle: command not found -bash: autoload: command not found -bash: [[: [colors]: syntax error: operand expected (error token is "[colors]") -bash: %{$terminfo[bold]$fg[${(L)color}]%}: bad substitution -bash: %{$fg[${(L)color}]%}: bad substitution -bash: %{$terminfo[bold]$fg[${(L)color}]%}: bad substitution -bash: %{$fg[${(L)color}]%}: bad substitution -bash: %{$terminfo[bold]$fg[${(L)color}]%}: bad substitution -bash: %{$fg[${(L)color}]%}: bad substitution -bash: %{$terminfo[bold]$fg[${(L)color}]%}: bad substitution -bash: %{$fg[${(L)color}]%}: bad substitution -bash: %{$terminfo[bold]$fg[${(L)color}]%}: bad substitution -bash: %{$fg[${(L)color}]%}: bad substitution -bash: %{$terminfo[bold]$fg[${(L)color}]%}: bad substitution -bash: %{$fg[${(L)color}]%}: bad substitution -bash: %{$terminfo[bold]$fg[${(L)color}]%}: bad substitution -bash: %{$fg[${(L)color}]%}: bad substitution -bash: local: can only be used in a function -bash: local: can only be used in a function -bash: local: can only be used in a function |
paint |
|
Темы:
14
Сообщения:
151
Участник с: 29 июня 2012
|
Проблема решена. ZSH прописал в файл /etc/profile всякую ересь и не стёр,после удаления. |
A.T.W.A. |
|
![]()
Темы:
14
Сообщения:
658
Участник с: 21 марта 2011
|
Zsh? Никакую "ересь" он в /etc/profile не пишет. |
tchgefest |
|
Темы:
51
Сообщения:
1505
Участник с: 20 октября 2008
|
paintСогласно этой теме http://archlinux.org.ru/forum/topic/12603/ Прежде чем удалять zsh,нужно было было заменить его на bash. Ересь вы несете :-(
Последний крик моды - эхо 30-летней давности.
|
paint |
|
Темы:
14
Сообщения:
151
Участник с: 29 июня 2012
|
A.T.W.A./etc/profile. То,что закоментированно, от zsh. #setopt INC_APPEND_HISTORY SHARE_HISTORY HIST_IGNORE_DUPS HIST_IGNORE_ALL_DUPS HIST_REDUCE_BLANKS HIST_IGNORE_SPACE HIST_NO_STORE HIST_VERIFY |
paint |
|
Темы:
14
Сообщения:
151
Участник с: 29 июня 2012
|
tchgefestЯ его не ставил в к-ве дефолтной оболочки.paintСогласно этой теме |
tchgefest |
|
Темы:
51
Сообщения:
1505
Участник с: 20 октября 2008
|
paintЕсли не ставили так замените на bash и все,в чем проблема.tchgefestЯ его не ставил в к-ве дефолтной оболочки.paintСогласно этой теме Это где вы такой /etc/profile взяли,сами туда что-ли понаписали? Вот как выглядит /etc/profile с любыми shell http://dpaste.com/1448211/
Последний крик моды - эхо 30-летней давности.
|
tchgefest |
|
Темы:
51
Сообщения:
1505
Участник с: 20 октября 2008
|
Во это кто прописал в cat /etc/profile?# Modules # # Set hsitory stuff. # HISTFILE=$HOME/.zhistory HISTSIZE=10000 SAVEHIST=10000 # Set up must-have aliases and alias file. # alias ls='ls --color=auto' alias ll='ls -lh' alias la='ls -a' alias l='ls' export GREP_OPTIONS='--color=auto' export GREP_COLOR='1;33' # Key-bindings. #
Последний крик моды - эхо 30-летней давности.
|
Natrio |
|
Темы:
47
Сообщения:
4763
Участник с: 08 января 2011
|
Кто-то перепутал /etc/profile с ~/.profile :) На самом деле /etc/profile трогать не следует. Если вы хотите добавить что-то в профиль общесистемно – можно добавить свой файл в /etc/profile.d/ |