Install the command with vscode graphical user interface
GNU/Linux Ubuntu 21.04 | visual-studio-code version 1.60.2: open the Ctrl-p (Command Palette) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command -> No matching results
.dotfiles 1 % echo code $PATH 9:22:06
code /home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin
.dotfiles 1 % brew search code 9:00:05
==> Formulae
autocode echoprint-codegen mp3unicode rxvt-unicode
code-minimap fdk-aac-encoder objc-codegenutils swagger-codegen
code-server gecode osslsigncode swagger-codegen@2
codec2 geocode-glib pandoc-include-code tivodecode
codemod git-remote-codecommit pcb2gcode xcodegen
codequery gnu-barcode php-code-sniffer yydecode
codespell iso-codes pycodestyle ode
color-code liberasurecode qrencode
eccodes lolcode recode
==> Casks
homebrew/cask-drivers/blocks-code
homebrew/cask-fonts/font-cascadia-code
homebrew/cask-fonts/font-cascadia-code-pl
homebrew/cask-fonts/font-code-new-roman-nerd-font
homebrew/cask-fonts/font-courier-prime-code
homebrew/cask-fonts/font-envy-code-r
homebrew/cask-fonts/font-fira-code
homebrew/cask-fonts/font-fira-code-nerd-font
homebrew/cask-fonts/font-office-code-pro
homebrew/cask-fonts/font-recursive-code
homebrew/cask-fonts/font-sauce-code-pro-nerd-font
homebrew/cask-fonts/font-source-code-pro
homebrew/cask-fonts/font-source-code-pro-for-powerline
.dotfiles 1 % brew install visual-studio-code 9:02:29
Error: Installing casks is supported only on macOS
.dotfiles 1 % brew install --cask visual-studio-code 9:03:18
Error: Installing casks is supported only on macOS
.dotfiles 1 % cat zshrc 9:05:55
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
.dotfiles 1 % source ~/.zshrc 9:10:05
Hello from .zshrc
.dotfiles 1 % which -a code 9:10:14
/usr/bin/code
/bin/code
.dotfiles 1 % which code 9:10:22
/usr/bin/code
.dotfiles 1 % apt search visual-studio-code 9:26:44
Sorting... Done
Full Text Search... Done
.dotfiles 1 % apt show visual-studio-code 9:26:53
Package: visual-studio-code
State: not a real package (virtual)
N: Can't select candidate version from package visual-studio-code as it has no candidate
N: Can't select versions from package 'visual-studio-code' as it is purely virtual
N: No packages found
Install the command with vscode graphical user interface
GNU/Linux Ubuntu 21.04 | visual-studio-code version 1.60.2: open the Ctrl-p (Command Palette) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command -> No matching results