Skip to content

🐚 In visual-studio-code Terminal shell zsh is NOT in the ***First level 1%*** #6

Description

@elisencode

🤔 🐸 Why in visual-studio-code " 🐚 Terminal shell zsh is in seconde level 2%" ?
In Ubuntu21.04 + ubuntu-desktop environment: 🔬

  1. I open first Terminal (Ctrl-Alt-t) ;
  2. in the opened Terminal: <-- 🐚 Terminal shell zsh is in 1% level
  • pwd
  • cd ~/.dotfiles
  • git branch
  • git checkout homebrew
  • open visual-studio-code here (in this directory: .dotfiles/): code .
  1. In VS code, presse maximize customized key (Ctrl-Shift-Alt-`) to open Terminal
    <-- 🐚 Terminal shell zsh is in 2% level

🤔 🧪 What if test it in a reverse order?
In Ubuntu21.04 + Regolith-Desktop environment: 🔬
A. open application Super Space, then search vs: in VS code: open Terminal
-> open .dotfiles directory <-- 🐚 Terminal shell zsh is in 2% level ;
B. press Super Enter to open Terminal <-- 🐚 Terminal shell zsh is in 3% level.

❓ 🔎 Where is "🐚 Terminal shell zsh is in 1% level"?

Hello from .zshrc

.dotfiles 2 % git branch                                        9:34:11
* homebrew
  main

.dotfiles 2 % pwd                                               9:34:21
/home/username/.dotfiles

.dotfiles 2 %
.dotfiles 2 % cat zshrc                                         9:35:17
echo Hello from .zshrc

# Set Variable
# Syntax highlighting for man pages using bat
export MANPAGER="sh -c 'col -bx | bat -l man -p'"


# Change ZSH Options


# Create Aliases
alias ls='ls -lAFh'

# Customize Prompt(s)
PROMPT='
%1~ %L %# '

RPROMPT='%*'

# Add Locations to $PATH Variable
# Add Visual Studio Code (code)
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"

# Write Handy Functions
function mkcd() {
  mkdir -p "$@" && cd "$_";
}

# Use ZSH Plugins


# ... and Other Surprises

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions