more windows

This commit is contained in:
Fred Klassen 2023-02-08 12:51:21 -08:00
commit 3bc46a7630
No known key found for this signature in database
GPG key ID: E9E2149793BDE17E
2 changed files with 58 additions and 28 deletions

View file

@ -86,14 +86,16 @@ Windows
$ tar xvf zsh-5.9-2-x86_64.pkg.tar $ tar xvf zsh-5.9-2-x86_64.pkg.tar
``` ```
* for `.bashrc` I prefer this entry so I can start the bash shell from zsh * for `.bashrc` I prefer to append this entry so I can start the bash shell from zsh
```(shell) ```(shell)
/c/Windows/System32/chcp.com 65001 > /dev/null 2>&1
if [ -t 1 ] && [ "$0" = "/usr/bin/bash" ]; then if [ -t 1 ] && [ "$0" = "/usr/bin/bash" ]; then
exec zsh exec zsh
fi fi
``` ```
* `pip install thefuck`
* continue with instructions to install Zsh * continue with instructions to install Zsh
* continue to [Common Install Steps](#common-install-steps) * continue to [Common Install Steps](#common-install-steps)

View file

@ -70,33 +70,61 @@ COMPLETION_WAITING_DOTS="true"
# Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=( if [ "$MSYSTEM" = "MINGW64" ]; then
alias-finder plugins=(
aliases alias-finder
aws aliases
colored-man-pages aws
command-not-found colored-man-pages
common-aliases command-not-found
compleat common-aliases
copybuffer compleat
copyfile copybuffer
copypath copyfile
dircycle copypath
docker dircycle
emoji docker
extract emoji
fasd extract
fd fasd
git fd
jfrog git
man jfrog
ssh-agent man
thefuck ssh-agent
tmux vscode
vscode zsh-autosuggestions
zsh-autosuggestions zsh-interactive-cd
zsh-interactive-cd )
) else
plugins=(
alias-finder
aliases
aws
colored-man-pages
command-not-found
common-aliases
compleat
copybuffer
copyfile
copypath
dircycle
docker
emoji
extract
fasd
fd
git
jfrog
man
ssh-agent
thefuck
tmux
vscode
zsh-autosuggestions
zsh-interactive-cd
)
fi
zstyle :omz:plugins:ssh-agent agent-forwarding yes zstyle :omz:plugins:ssh-agent agent-forwarding yes
#zstyle :omz:plugins:ssh-agent helper ksshaskpass #zstyle :omz:plugins:ssh-agent helper ksshaskpass