Placeholders
Placeholders in KS is the pre-defined variables for usage with common kernel variables, like the current directory. They're enclosed in these characters <
and >
, surrounding the specific placeholder.
They can also be used in the configuration entries that support them.
Currently, these placeholders can be used:
Placeholder | Description | Usages |
---|---|---|
| Gets the current user name (Ex: joe) | Login, MAL, Shells |
| Gets the current host name | Everywhere |
| Gets the current directory | Shells |
| Gets the current directory name | Shells |
| Gets the system date in MM/DD/YYYY format (Ex: 12/7/2018) | Everywhere |
| Gets the system date in | Everywhere |
| Gets the system time in HH:MM format (Ex: 4:30) | Everywhere |
| Gets the system time in HH:MM:SS AM/PM format (Ex: 4:30:10 PM) | Everywhere |
| Gets the system date in the current format | Everywhere |
| Gets the system time in the current format | Everywhere |
| Gets the system standard time zone (Ex: Egypt Standard Time) | Everywhere |
| Gets the system daylight saving time zone (Ex: Syria Daylight Time) | Everywhere |
| Gets the operating system | Everywhere |
| Gets the current FTP user | FTP shell |
| Gets the current FTP address | FTP shell |
| Gets the current mail user or e-mail address | mail shell |
| Gets the current mail server address | mail shell |
| Gets the current SFTP user | SFTP shell |
| Gets the current SFTP address | SFTP shell |
| Gets the current FTP remote directory | FTP shell |
| Gets the current FTP local directory | FTP shell |
| Gets the current FTP local directory name | FTP shell |
| Gets the current mail directory | mail shell |
| Gets the current SFTP remote directory | SFTP shell |
| Gets the current SFTP local directory | SFTP shell |
| Gets the current SFTP local directory name | SFTP shell |
| This is the newline | Everywhere |
| Manipulates with the foreground color | Everywhere |
| Manipulates with the background color | Everywhere |
| Resets the foreground color | Everywhere |
| Resets the background color | Everywhere |
| Uses the UESH variable | Everywhere |
Last updated