GithubHelp home page GithubHelp logo

Comments (11)

sleemCode avatar sleemCode commented on July 22, 2024 1

I end up restarting my Mac and all started working. Sorry for my late reply and thank you for the awesome dotfiles.

from dotfiles.

Parth avatar Parth commented on July 22, 2024

Yep, should be plug and play. Can you expand on "Nothing is working"? Do you get to zsh? Or are you still in bash? Does it say Process Completed or something like that?

from dotfiles.

sleemCode avatar sleemCode commented on July 22, 2024

I should have elaborated on "nothing is working" :-)
After opening a new terminal, I am still on bash.
on ~:
vim .vimrc so /Users/<username>/dotfiles/vim/vimrc.vim
vim .zshrc source /Users/<username>/dotfiles/zsh/zshrc.zshrc_manager.sh
vim .tmux.conf source-file /Users/<username>/dotfiles/tmux/tmux.conf

if you need more information, please let me know.

after done with running ./deploy, I did not see anything that says Process Completed
Please log out and log back in for default shell to be initialized. is the last prompt.

from dotfiles.

Parth avatar Parth commented on July 22, 2024

Ignore this it's wrong:

Hmm, seems like something went wrong during chsh. Could you manually try to:

chsh -s $(which zsh)

from dotfiles.

Parth avatar Parth commented on July 22, 2024

chsh: /usr/local/bin/zsh: non-standard shell

this is what went wrong. I should have seen this. Perhaps deploy should not imply that the operation was successful when this happens.

Okay so a few things that confuse me about your situation:

  1. On macOS Catalina isn't the default shell already the default shell?
  2. Why is your zsh there?

So you could do: echo $0 to figure out what your current shell is. Confirm that this is not zsh.

But to actually solve this problem:

  1. Add the output of which zsh (should evaluate to: /usr/local/bin/zsh) to /etc/shells
  2. Either run ./deploy again or chsh -s $(which zsh)

from dotfiles.

Parth avatar Parth commented on July 22, 2024

More context for further reading:

from dotfiles.

sleemCode avatar sleemCode commented on July 22, 2024

tried changing login shell in Users & Group / Advanced Option to /usr/local/bin/zsh
when I open a new terminal:

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.

when I run echo $0 => -bash
when I run which zsh => /usr/local/bin/zsh
when I run sudo cat /etc/shells:

# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/bash
/bin/csh
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
/usr/local/bin/zsh
/usr/local/bin/bash

when I run chsh -s $(which zsh) still getting chsh: /usr/local/bin/zsh: non-standard shell

I read the links you provided, my take away is to append /usr/local/bin/zsh to /etc/shells, which it has been done already. What am I missing? Also, I do appreciate you trying to help me out. 👍

from dotfiles.

Parth avatar Parth commented on July 22, 2024

Yep, after appending that re-run ./deploy and you should be good!

from dotfiles.

Parth avatar Parth commented on July 22, 2024

Maybe you need to logout/log back in?

from dotfiles.

Parth avatar Parth commented on July 22, 2024

if none of that works try chsh -s /bin/zsh <- this is what the original zsh not the one installed by brew

from dotfiles.

Parth avatar Parth commented on July 22, 2024

Any luck @sleemCode ?

from dotfiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.