• oh-my-zsh theme question


    Hey guys.

    Hope you could help me. I recently install oh-my-zsh to terminal. Using following theme.

    I have a question which I dont really know how to ask to google it. Well I wanna know how can you make this command text like : cd, touch,ls,… green when terminal don’t recognise command in this case is red. Because On my terminal every single theme everything is just white.

    Greetings,
    Marko.

  • Anyone ?

  • YES!
    But i do not understand exactly how this “theme” works…

    I can try out in the next hour…

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3 GNOME

  • Well for example I want this “cd” command to be green or whatever color.

    alt text

  • For this i use zsh-syntax-highlighting-git
    simple:

    yaourt -S zsh-syntax-highlighting-git
    and put the line:
    source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
    to your .zshrc

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3 GNOME

  • @joekamprad said in oh-my-zsh theme question:

    For this i use zsh-syntax-highlighting-git
    simple:

    yaourt -S zsh-syntax-highlighting-git
    and put the line:
    source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
    to your .zshrc

    Oh I feel so stupid right now. Thank you mate.

    Greetings,
    Marko!

  • @Mjafko I am glad to be able to help!
    Mark as solved then plz!
    Bild Text

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3 GNOME

theme31 oh-my-zsh1 Posts 7Views 252
Log in to reply