Skip to content

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

@ridhwaans

Description

@ridhwaans

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions