Comments (11)
I end up restarting my Mac and all started working. Sorry for my late reply and thank you for the awesome dotfiles.
from dotfiles.
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.
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.
Ignore this it's wrong:
Hmm, seems like something went wrong during
chsh
. Could you manually try to:chsh -s $(which zsh)
from dotfiles.
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:
- On macOS Catalina isn't the default shell already the default shell?
- 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:
- Add the output of
which zsh
(should evaluate to:/usr/local/bin/zsh
) to/etc/shells
- Either run
./deploy
again orchsh -s $(which zsh)
from dotfiles.
More context for further reading:
from dotfiles.
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.
Yep, after appending that re-run ./deploy
and you should be good!
from dotfiles.
Maybe you need to logout/log back in?
from dotfiles.
if none of that works try chsh -s /bin/zsh
<- this is what the original zsh not the one installed by brew
from dotfiles.
Any luck @sleemCode ?
from dotfiles.
Related Issues (20)
- Alias for reload causes terminal to quit on key press HOT 2
- virtualenv in prompt HOT 1
- Updating ZSH_THEME= has no effect
- how does the sourceing work HOT 1
- tmux warnings HOT 3
- Deploy script problems
- Thoughts on autocomplete and tab complete HOT 1
- Line 12, relative to CursorLine, in your vimrc is wrong
- Long Loading Times? HOT 3
- Actual code formatting tools HOT 1
- oh-my-zsh? HOT 2
- Provide a way to uninstall HOT 2
- Invalid options with Tmux 2.9 HOT 3
- cd script isn't doing good HOT 1
- Zsh Plugins not downloaded HOT 7
- Key binding for cd HOT 2
- Upgraded to ubuntu 20 HOT 1
- Tmux isn't loading anymore HOT 1
- Cleaning history since last update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotfiles.