abgox / PSCompletions

A completion manager for better and simpler use completions in PowerShell. 一个补全管理模块,更简单、更方便的在 PowerShell 中使用命令补全。
https://pscompletions.pages.dev
MIT License
111 stars 6 forks source link

[Question]: Backtrailing slashes for directories #39

Closed NightSling closed 1 month ago

NightSling commented 1 month ago

Before Start

What Powershell version are you using?

PowerShell

What system are you using?

Windows

Steps to reproduce

Use the completion menu to access a directory.

> ls
Directory
> cd Dir<TAB> (menu opens and select Directory)

What is expected?

Add a trailing backslash to directories when completion occurs.

> cd .\Directory\

What is actually happening?

No trailing backslash

> cd .\Directory

Any additional comments?

(This is more like Q/A Issue rather than Bug report, please let me know how I can fix this.)

abgox commented 1 month ago
NightSling commented 1 month ago

Is there any way to add it? When I normally use Tab on PowerShell for directory path completion, it does add \ to the end.

abgox commented 1 month ago