This will create automatic kernels for each pyenv virtualenv. If you use jupyter: install pyenv jupyter kernel.Add eval "$(pyenv virtualenv-init -)" to zshrc.Make virtualenvs for every project (these get saved to sepcific directories).Set python 3.10 as global version: pyenv global 3.10.0.which python should show /Users/fred/.pyenv/shims/python.if python -V still shows 2.7 or whatever, edit line in zshrc, see this stack overflow post: Powerlevel10k Raw iterm2-solarizedinstructions.pyenv install 3.10.0 (or latest version).brew install openssl readline sqlite3 xz zlib.echo 'eval "$(pyenv init -)"' > ~/.zshrc.echo 'eval "$(pyenv init -path)"' > ~/.zprofile.Run git config -global alias.st status to add alias.Install vscode extensions: prettier, colourful brackets, react, python, semi-standard etc.Install vscode brew install -cask visual-studio-code.Preferences -> Keys -> Key Bindings and change Next Tab and Previous Tab Setup word skipping shortcuts in iterm ⌘←, ⌘→ and ⌥←, ⌥→ in Profiles -> Keys -> Key mappings -> Presets -> Natural Text Editing.Change iterm to unlimited scrollback in Terminal Tab. To install Powerlevel10k, use the next Terminal commands. After it is installed, you can configure it to your liking. Change iterm background color & opacity in Window Tab Finally, we recommend installing Powerlevel10k one of the most popular themes for iTerm2.Disable bell in iterm : Profiles -> Default -> Terminal -> Silence Bell.Add zsh plugins: (zsh-autosuggestions colorize pip python etc.). Install powerlevel10k brew install romkatv/powerlevel10k/powerlevel10k echo "source $(brew -prefix)/opt/powerlevel10k/powerlevel10k.zsh-theme" >~/.zshrc.Install oh my zsh brew install zsh & sh -c "$(curl -fsSL )".Install iterm brew install -cask iterm2 Double-click them to install, and navigate into the iTerm2 preferences into Preferences.Install Rectangle (Used to be Spectacle, but Rectangle is compiled for apple silicon so I'll go with that!).Install Command line tools (Homebrew should do this automatically).The best piece of advice I can give is to try to understand your shell, as it is it it's native form before you start trying to make it look cool with scripts and customization found all over the Internet. Now, let's add a whole bunch of complex stuff to files the user isn't familiar with either and hope for the best. Yes, they're cool and all, but most people have difficulty working in a shell to begin with. zshrc files to see what modifications were made to your prompt and then possibly try to decipher which Unicode symbol the theme was going for.Īnd not trying to be a negative Nelly here, I believe this needs to be said: This is one of the issues I have with all these ZSH theme and customization packs. You can try reinstalling and watch for errors to see what does/doesn't get installed.Īt minimum, we need to see your. There are probably pre-requisites and/or dependencies for Prezto and the Powerlevel10k themes (maybe even the solarized theme as well) that didn't get installed. The question mark in a box is placeholder for a symbol from a font set it doesn't recognize. Modify Powerlevel10k zsh prompt Ask Question Asked 1 year, 2 months ago Modified 1 year, 2 months ago Viewed 2k times 0 Goal: Remove the ':main' of Powerlevel10k zsh prompt zsh prompt Details: Using Powerlevel10k No framework manager (such as oh my zsh) I believe I have to change /.p10k. Powerlevel10k will still work but the choice of prompt styles will be limited if your current font isn't very capable. You may, however, refuse to install the font and proceed with prompt configuration. For best experience, say "Yes", restart iTerm2 when prompted and then run p10k configure again. If you aren't yet using the recommended font, the configuration wizard will ask whether you want to install it. Whenever you change your terminal or terminal font, you need to run p10k configure. This usually happens when you configure Powerlevel10k in one terminal with one font, and then use the same config either in a different terminal or with a different font. On the screenshot Powerlevel10k displays a question mark because it thinks your terminal can display it. As long as it knows the capabilities of your terminal and font, it'll stick to symbols that can be rendered correctly. what symbols it uses to communicate information. What your screenshot shows is Zsh prompt defined by Powerlevel10k. Change PowerLevel10k configurations p10k configure Change iTerm2 font ( reddit reference) Quit iTerm2 - iTerm2 > Quit iTerm2 or press Q.
0 Comments
Leave a Reply. |