mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
more windows
This commit is contained in:
parent
8046973348
commit
3bc46a7630
2 changed files with 58 additions and 28 deletions
|
|
@ -86,14 +86,16 @@ Windows
|
|||
$ 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)
|
||||
/c/Windows/System32/chcp.com 65001 > /dev/null 2>&1
|
||||
if [ -t 1 ] && [ "$0" = "/usr/bin/bash" ]; then
|
||||
exec zsh
|
||||
fi
|
||||
```
|
||||
|
||||
* `pip install thefuck`
|
||||
* continue with instructions to install Zsh
|
||||
* continue to [Common Install Steps](#common-install-steps)
|
||||
|
||||
|
|
|
|||
|
|
@ -70,33 +70,61 @@ COMPLETION_WAITING_DOTS="true"
|
|||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
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
|
||||
)
|
||||
if [ "$MSYSTEM" = "MINGW64" ]; then
|
||||
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
|
||||
vscode
|
||||
zsh-autosuggestions
|
||||
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 helper ksshaskpass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue