How to get autocompletion in Windows terminal and vscode terminal like Linux?????

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • 00:09
    $PROFILE
    notepad $PROFILE
    New-Item -Path $PROFILE -Type File -Force
    00:12
    Set-PSReadlineKeyHandler -Key Tab -Function Complete
    00:30
    notepad ~/.bashrc
    if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
    fi
    0:41
    notepad ~/.zshrc
    autoload -Uz compinit
    compinit
    00:43
    if [ -f /usr/local/share/zsh-completions/zsh-completions.zsh ]; then
    . /usr/local/share/zsh-completions/zsh-completions.zsh
    fi
    00:54
    notepad $PROFILE
    New-Item -Path $PROFILE -Type File -Force
    $PROFILE
    Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward
    Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward
    00:59
    install clink: github.com/mridgers/clink
    01:02
    notepad ~/.bashrc
    bind '"\e[A": history-search-backward'
    bind '"\e[B": history-search-forward'
    source ~/.bashrc
    01:05
    notepad ~/.zshrc
    01:06
    autoload -Uz up-line-or-search
    autoload -Uz down-line-or-search
    zle -N up-line-or-search
    zle -N down-line-or-search
    bindkey '^[[A' up-line-or-search
    bindkey '^[[B' down-line-or-search
    01:07
    source ~/.zshrc
    01:10
    Install-Module -Name PSReadLine -Force -SkipPublisherCheck
    01:12
    notepad $PROFILE
    New-Item -Path $PROFILE -Type File -Force
    01:13
    Import-Module PSReadLine
    Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward
    Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward
    01:19
    bind '"\e[A": history-search-backward'
    bind '"\e[B": history-search-forward'
    01:12
    autoload -Uz history-search-end
    zle -N history-search-end
    bindkey '^[[A' history-search-backward
    bindkey '^[[B' history-search-forward

Komentáře •