-
Notifications
You must be signed in to change notification settings - Fork 1
CMD at
Zplutor edited this page Oct 7, 2023
·
2 revisions
Shows active path.
@[<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.
Show current active path:
@
Show workspace path:
@~
Show the name of active path:
@n
Show parent directory name:
@..n