Skip to content

parse error near then #21

@thantez

Description

@thantez

hi!
I install bicon by AUR in arch and get error message in first line of terminal app that says
/home/mahdi/.zshrc:34: parse error near 'then'
and I use from tilix terminal.
what can I do for fixing this problem and please fix this bug about AUR!
thanx.

$  cat ~/.zshrc
export MYZSH=$HOME/.my.zsh
THEME=$MYZSH/themes/lxsameer.zsh-theme
source $MYZSH/my.zsh

PROJECTS=$HOME/src/

# All of your configuration goes this file
load_overrides ~/.zshrc.override

setup_highlighting
setup_autosuggestion
# The following lines were added by compinstall

zstyle ':completion:*ompinstall' completer _expand _complete _ignored _approximate
zstyle ':completion:*ompinstall' matcher-list 'm:{[:lower:]}={[:upper:]}' 'm:{[:lower:]}={[:upper:]} m:{[:lower:][:upper:]}={[:upper:][:lower:]}'
zstyle :compinstall filename '/home/mahdi/.zshrc'

autoload -Uz compinit
compinit
autoload -Uz promptinit
promptinit
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
setopt autocd extendedglob
autoload -Uz up-line-or-beginning-search down-line-or-beginning-search
zle -N up-line-or-beginning-search
zle -N down-line-or-beginning-search

[[ -n "$key[Up]"   ]] && bindkey -- "$key[Up]"   up-line-or-beginning-search
[[ -n "$key[Down]" ]] && bindkey -- "$key[Down]" down-line-or-beginning-search
bindkey -eif ! [[ "$(ps -p $(ps -p $(echo $$) -o ppid=) -o comm=)" =~ 'bicon'* ]]; then
  bicon.bin
fi
# End of lines configured by zsh-newuser-install

# aliases
alias cp="cp -i"                          # confirm before overwriting something
alias df='df -h'                          # human-readable sizes
alias free='free -m'                      # show sizes in MB
alias np='nano -w PKGBUILD'
alias more=less

# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" #Load RVM into a shell session *as a function*

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions