Open chandrahas-abburi opened 4 years ago
centos zsh can only be upgraded to 5.0.2
This works for me:
sudo yum update -y
sudo yum install -y git make ncurses-devel gcc autoconf man yodl
git clone -b zsh-5.7.1 https://github.com/zsh-users/zsh.git /tmp/zsh
cd /tmp/zsh
./Util/preconfig
./configure
sudo make -j 20 install
/usr/local/bin/zsh --version
prints zsh 5.7.1 (x86_64-pc-linux-gnu)
.
Does it work for you?
No, it doesnt. Thank you @romkatv for the quick response. i think i need to make oh my zsh use the 5.7.1 version
echo $ZSH_VERSION still gives 5.0.2 zsh -- version gives 5.7.1
if I type zsh in the command line then the error vanishes.
No, it doesnt.
Could you post the failing command and its output?
Thank you @romkatv for the quick response. i think i need to make oh my zsh use the 5.7.1 version
echo $ZSH_VERSION still gives 5.0.2
This makes sense because you still have /bin/zsh
as your user shell. /bin/zsh --version
is 5.0.2
while /usr/local/bin/zsh --version
is 5.7.1
.
zsh -- version gives 5.7.1
Where did zsh version 5.7.1 come from? Did the build command actually succeed?
if I type zsh in the command line then the error vanishes.
You can change your default shell to the new version by typing these commands:
sudo grep -qF =zsh /etc/shells || sudo tee -a /etc/shells <<<=zsh
chsh -s =zsh
@romkatv awesome, it works for me
centos zsh can only be upgraded to 5.0.2
This works for me:
sudo yum update -y sudo yum install -y git make ncurses-devel gcc autoconf man git clone -b zsh-5.7.1 https://github.com/zsh-users/zsh.git /tmp/zsh cd /tmp/zsh ./Util/preconfig ./configure sudo make -j 20 install.bin install.modules install.fns
/usr/local/bin/zsh --version
printszsh 5.7.1 (x86_64-pc-linux-gnu)
.Does it work for you?
I have followed the above procedure able to install the zshell how ever when i try to sourece the .bashrc file it throws error of saying module not installed of zsh was the error it is throwing
@siva3060 What?
i have configure the zsh to my rhel machine but after downloading the on-my-zsh and reloading the zshrc script using source commad it throws errors saying modules of zsh not installed
Aww, that sucks :frowning_face: Sorry to hear it didn't work for you.
is there any possible way to fix this cus i have been on this since last night i dont see any resource thank you
There must be some way but I don't know what it might be, unfortunately. You might have better luck asking for help from people who have something to do with the technologies you are using: rhel, zsh and oh-my-zsh, if I understand correctly.
yes, yum manager has zshell 5.0.2 and havent received any update later thath
I feel ya.
Tried to install with rpm ending with dependiency erros
Tried to install with rpm ending with dependiency erros
Shiiiiit, I hate those.
zsh version -zsh 5.0.2 (x86_64-redhat-linux-gnu) powerlevel 9k gives many git errors Need a workaround or support for centos 7
Example of errors: 1) git untracked files makes vcs display not work 2)vi-git-stash:2: unknown file attribute
error 2 arised on solving of error 1