🤔 🐸 Why in visual-studio-code " 🐚 Terminal shell zsh is in seconde level 2%" ?
In Ubuntu21.04 + ubuntu-desktop environment: 🔬
- I open first Terminal (Ctrl-Alt-t) ;
- 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 .
- 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
🤔 🐸 Why in visual-studio-code " 🐚 Terminal shell zsh is in seconde level 2%" ?
In Ubuntu21.04 + ubuntu-desktop environment: 🔬
pwdcd ~/.dotfilesgit branchgit checkout homebrewcode .<-- 🐚 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 searchvs: in VS code: open Terminal-> open
.dotfiles directory<-- 🐚 Terminal shell zsh is in 2% level ;B. press
Super Enterto open Terminal <-- 🐚 Terminal shell zsh is in 3% level.❓ 🔎 Where is "🐚 Terminal shell zsh is in 1% level"?