Skip to content
Zplutor edited this page Oct 7, 2023 · 2 revisions

@

Shows active path.

Usage

@[<modifiers>]

modifiers are suffixes to @. They are used to change the result of active path. There are supported modifiers listed below:

  • ~, shows workspace path. It must be the first suffix if it is present.
  • ., shows directory path.
  • .., shows parent directory path.
  • ..., shows ancestor directory path. More dots it has, more levels are backed.
  • n, shows name only. It must be the last suffix if it is present.

Example

Show current active path:
@

Show workspace path:
@~

Show the name of active path:
@n

Show parent directory name:
@..n

Clone this wiki locally