Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZSH theme not working in VSCode Dev container Integrated Terminal #745

Open
ridhwaans opened this issue Apr 6, 2023 · 1 comment
Open

Comments

@ridhwaans
Copy link

ridhwaans commented Apr 6, 2023

Description

Using https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers
Not sure if it is a permissions/vscode issue

Steps to reproduce

Minimal steps to reproduce this behavior. Example:

  1. Install VSCode Dev container extension, Attach to running container, Open Integrated terminal
  2. Clone antigen
git clone https://github.com/zsh-users/antigen.git .zsh/bundle
  1. Make the ~/.zshrc file
source $HOME/.zsh/bundle/bin/antigen.zsh

antigen use oh-my-zsh # Load the oh-my-zsh's library.
antigen theme agnoster # Load the theme.
antigen apply # Tell antigen that you're done.
  1. Change shell to ZSH
sudo usermod -s $(which zsh) $(whoami)
$(which zsh)
  1. run source ~/.zshrc

Expected behavior:

Should see ohmyzsh theme and powerline color prompt

Actual behaviour:

robbyrussell/oh-my-zsh is installed!
Antigen: Theme "agnoster" is already active.
name% 

Software version

Antigen develop (d1dd78b)
Revision date: 2018-01-15 14:37:21 -0300

zsh 5.8.1 (aarch64-unknown-linux-gnu)
Linux 787ced156b71 5.15.49-linuxkit #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

Ubuntu 22.04 on VSCode Dev Container Preview build

Configuration

.zshrc

source $HOME/.zsh/bundle/bin/antigen.zsh

antigen use oh-my-zsh # Load the oh-my-zsh's library.
antigen theme agnoster # Load the theme.
antigen apply # Tell antigen that you're done.

More information

Screenshot or any other information you may find relevant to troubleshoot the issue.

@ridhwaans ridhwaans changed the title ZSH theme not working in VSCode Dev container ZSH theme not working in VSCode Dev container Integrated Terminal Apr 6, 2023
@ridhwaans
Copy link
Author

I think the issue is gitconfig started to use ssh

[url "git@github.com:"]
     pushInsteadOf = https://github.com/

bin/antigen.zsh and local setup was supposed to be over https

[submodule ".zsh/bundle"]
	path = .zsh/bundle
	url = https://github.com/zsh-users/antigen.git

Switching to pushInsteadOf seems to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant