From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26397 invoked from network); 10 Jun 2020 11:57:17 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 10 Jun 2020 11:57:17 -0000 Received: (qmail 2471 invoked by alias); 10 Jun 2020 11:57:10 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24922 Received: (qmail 25573 invoked by uid 1010); 10 Jun 2020 11:57:10 -0000 X-Qmail-Scanner-Diagnostics: from mailex.mailcore.me by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25835. spamassassin: 3.4.4. Clear:RC:0(94.136.40.142):SA:0(-1.9/5.0):. Processed in 2.373851 secs); 10 Jun 2020 11:57:10 -0000 X-Envelope-From: david@rayninfo.co.uk X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at rayninfo.co.uk does not designate permitted sender hosts) Subject: Re: help with installing and correctly configuring zsh on an amd 64 box running gentoo stable To: zsh-users@zsh.org References: From: david rayner Message-ID: <34699845-91bd-0028-f099-5aa2c356fc46@rayninfo.co.uk> Date: Wed, 10 Jun 2020 12:56:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Mailcore-Auth: 8308408 X-Mailcore-Domain: 840527 a few setopts you may want setopt APPEND_HISTORY setopt INC_APPEND_HISTORY setopt HIST_IGNORE_DUPS setopt HIST_IGNORE_SPACE    # dont put commands beginning with space in history setopt interactivecomments  # allows end of command line comments setopt extendedglob setopt extended_glob setopt no_case_glob # allow ls **.c instead of **/*.c setopt GLOBSTARSHORT setopt autopushd pushdignoredups autocd On 10/06/2020 12:06, Michael Fothergill wrote: > Many thanks for the help and advice. > > My .zshrc file now looks like this: > > ��� mikef more .zshrc > source "/usr/share/zsh-theme-powerlevel9k/powerlevel9k.zsh-theme" > > plugins=( > git > bundler > dotenv > osx > rake > rbenv > ruby > ) > > > ZSH_THEME="robbyrussell" > > zstyle ':completion::complete:*' use-cache 1 > > #!/bin/zsh > > #Completion > autoload -U compinit > compinit > > # Correction > > setopt correctall > > > #Prompt > > autoload -U promptinit > promptinit > prompt gentoo > > alias myip="curl http://ipecho.net/plain; echo" > > ��� mikef > > I had originally intended to install powerlevel10k but I found a wiki page > on gentoo > advising on installing powerlevel 9k: > > https://wiki.gentoo.org/wiki/Powerlevel9k > > i follow the instructions in it and added the > > source "/usr/share/zsh-theme-powerlevel9k/powerlevel9k.zsh-theme" > > to the .zshrc file. > > > When Iog in I get the following error message when I start up a terminal > prompt: > > > /home/mikef/.zshrc:source:1: no such file or directory: > /usr/share/zsh-theme-powerlevel9k/powerlevel9k.zsh-theme > mikef@bucketlist ~ % > > Suggestions on what is wrong here are appreciated. > > I noticed that there is a gentoo overlay called fulgurance that might help > me a bit: > > https://github.com/Fulgurance/fulgurance-overlay > > Has anyone used it on the list here? > > Comments appreciated. > > Regards > > MF > > On Tue, 9 Jun 2020 at 11:26, Roman Perepelitsa > wrote: > >> On Tue, Jun 9, 2020 at 12:21 PM Michael Fothergill >> wrote: >>> A great many thanks for telling me that........ >>> >>> I trust it does not matter that I was never prompted with the start up >> script when I installed zsh.......? >> >> What do you mean by the startup script? If you mean >> zsh-newuser-install, it triggers automatically when you start zsh as >> non-root and there is no ~/.zshrc. You can also run it manually from >> zsh with the following command: >> >> autoload -Uz zsh-newuser-install >> zsh-newuser-install -f >> >>> I am going to try to install powerlevel 10K next. >>> >>> Wish me luck. >> Good luck :-) >> >> >> Roman. >>