zsh-users
 help / color / mirror / code / Atom feed
From: david rayner <david@rayninfo.co.uk>
To: zsh-users@zsh.org
Subject: Re: help with installing and correctly configuring zsh on an amd 64 box running gentoo stable
Date: Wed, 10 Jun 2020 12:56:27 +0100	[thread overview]
Message-ID: <34699845-91bd-0028-f099-5aa2c356fc46@rayninfo.co.uk> (raw)
In-Reply-To: <CANc=Sd0FLVZ_vb-SaVMcEGuHxTNrr_Kc1gR72hiFL+fsmgmO-g@mail.gmail.com>

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 <roman.perepelitsa@gmail.com>
> wrote:
>
>> On Tue, Jun 9, 2020 at 12:21 PM Michael Fothergill
>> <michael.fothergill@gmail.com> 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.
>>

  reply	other threads:[~2020-06-10 11:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09 10:06 Michael Fothergill
2020-06-09 10:11 ` Roman Perepelitsa
     [not found]   ` <CANc=Sd1W4ZtzJSGfmfdpgNx6n_9cEjxjnxsQZxxz8AJH+RDNKA@mail.gmail.com>
2020-06-09 10:26     ` Roman Perepelitsa
     [not found]       ` <CANc=Sd2wUomQRuVvWu5A07_JWjLeJnDviTrWm00GqVamEKqvMA@mail.gmail.com>
2020-06-09 10:33         ` Roman Perepelitsa
2020-06-10 11:06       ` Michael Fothergill
2020-06-10 11:56         ` david rayner [this message]
2020-06-11 11:38           ` Michael Fothergill
2020-06-11 11:48         ` Roman Perepelitsa
2020-06-11 12:21           ` Michael Fothergill
2020-06-12 16:20             ` Michael Fothergill
2020-06-12 16:35               ` Roman Perepelitsa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=34699845-91bd-0028-f099-5aa2c356fc46@rayninfo.co.uk \
    --to=david@rayninfo.co.uk \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).