You are not logged in.

#1 2018-08-23 07:31:24

drudox
Member
Registered: 2017-10-01
Posts: 126

zsh doesn't change the themes

Hi all,
I've just installed Arch in a new desktop pc .. copyng the directory .oh-my-zsh from my laptop (In which the themes change correctly) to the home of new desktop

Even though at the beginning the themes works fine (af-magic) now I got this strange things :

marco@7700K ~ %

where marco is my user and 7700K the hostname. What's can be happens ? how can I get the zsh themes again ? I've tried also with other themes but zsh-themes doesn't change

Last edited by drudox (2018-08-23 07:31:41)

Offline

#2 2018-08-23 07:46:57

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,882
Website

Re: zsh doesn't change the themes

No idea what omz does, but I can't see any problem with your prompt? Nevertheless, see if https://wiki.archlinux.org/index.php/Zsh#Prompt_themes answers your question.

Mod note: not an installation issue, moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2018-08-23 09:51:44

drudox
Member
Registered: 2017-10-01
Posts: 126

Re: zsh doesn't change the themes

I followed the guide step by step , and the themes changed to the right one ... I've also inserter this line in my

~/.zshrc 
autoload -Uz promptinit
promptinit
prompt af-magic.zsh-theme

but than when i open new terminal I get the strange theme that i reported in first post

Offline

#4 2018-08-23 10:32:37

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,882
Website

Re: zsh doesn't change the themes

Post your full .zshrc.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2018-08-23 10:47:22

drudox
Member
Registered: 2017-10-01
Posts: 126

Re: zsh doesn't change the themes

here : tnx for your support

# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
export EDITOR="vim"
export LC_CTYPE="en_GB.UTF-8"


ZSH_THEME="af-magic"



# Set list of themes to load
# Setting this variable when ZSH_THEME=random
# cause zsh load theme from this variable instead of
# looking in ~/.oh-my-zsh/themes/
# An empty array have no effect
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
    git
    sudo
)

source $ZSH/oh-my-zsh.sh


autoload -Uz promptinit
promptinit

#ln -s .oh-my-zsh/themes/af-magic.zsh-theme ~/.zprompts/prompt_mytheme_setup

prompt af-magic.zsh-theme

# User configuration

# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# ssh
# export SSH_KEY_PATH="~/.ssh/rsa_id"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"

#source $HOME/OpenFOAM/OpenFOAM-4.0/etc/bashrc
#source /opt/OpenFOAM/OpenFOAM-4.0/etc/cshrc

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

alias p="sudo pacman"
alias SS="sudo systemctl"
alias v="vim"
alias sv="sudo vim"
alias r="ranger"
alias sr="sudo ranger"
alias ka="killall"
alias g="git"
alias trem="transmission-remote"
alias mkd="mkdir -pv"
alias rf="source ~/.zshrc"
#alias aur= "yaourt"
alias am= "aurman"
alias yt="youtube-dl --add-metadata -ic" # Download video link
alias yta="youtube-dl --add-metadata -xic" # Download only audio




archey3
#screenfetch
setxkbmap us

alias python='/usr/bin/python3'
alias tryfont="printf '\e]710;%s\007'"
export PYTHONSTARTUP=$HOME/.pyrc

rqip(){ 
smbclient -W ds -A /home/marco/.auth //ce-pcut-srv.chemeng.strath.ac.uk/ce-secure -c "print $1" 
}

#screenfetch
#archey3

if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
    echo "Mounting network drives"
    mount ~/network/idrive
    mount ~/network/hdrive
    echo ""
    echo "Starting Xorg server"
    exec startx
fi
-----------------------------------------------------------

Offline

#6 2018-08-23 14:39:11

drudox
Member
Registered: 2017-10-01
Posts: 126

Re: zsh doesn't change the themes

no idea ? thanks anyway for the interest

Offline

#7 2018-08-23 15:25:23

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,882
Website

Re: zsh doesn't change the themes

Please do not bump.

This is the second time I've linked you to the Code of Conduct today, and you failed to comply with my instructions from the first case. Coupled with your post history, and the fact that you received your final warning from another mod last month, I'm going to give you a two week ban to give you the chance to familiarise yourself with the Code in it's entirety. If you continue to break the rules upon your return, you will earn a permanent ban.

With regards to the problem at hand, my recommendation would be to get rid of OMZ completely, and configure zsh properly but I will leave this topic open in case others have OMZ-specific solutions.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2018-08-23 20:05:59

seth
Member
Registered: 2012-09-03
Posts: 51,470

Re: zsh doesn't change the themes

pacman -Qs grml

Offline

Board footer

Powered by FluxBB