-
Notifications
You must be signed in to change notification settings - Fork 1
CMD at
Zplutor edited this page Oct 7, 2023
·
2 revisions
![](https://private-user-images.githubusercontent.com/1822051/273364527-566ffe1b-264f-470c-aadd-a3f6e40f3c15.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNzE1NzQsIm5iZiI6MTczOTI3MTI3NCwicGF0aCI6Ii8xODIyMDUxLzI3MzM2NDUyNy01NjZmZmUxYi0yNjRmLTQ3MGMtYWFkZC1hM2Y2ZTQwZjNjMTUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTA1NDM0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDEzNmNhODViNjExMDBkNmE5NjIzNTM3YjRiN2ViNDNiYWIzM2QxZWY3NmMzNzBmMDAzMGVhOTQ5NzIxN2E0MyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.8hiiWwjRE6LW193m75kQ5AhZSriJpH2_lfZMI0thVeg)
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