Updates README files for dirstack segment
parent
f8ae0494e8
commit
e0c0a770d6
|
|
@ -10,6 +10,7 @@ A colorful multiline theme, where the first line shows information about your sh
|
||||||
* Current username and hostname
|
* Current username and hostname
|
||||||
* Current time
|
* Current time
|
||||||
* Current shell level
|
* Current shell level
|
||||||
|
* Current dirstack level (`pushd` / `popd`)
|
||||||
* An indicator when connected by SSH
|
* An indicator when connected by SSH
|
||||||
* An indicator when `sudo` has the credentials cached (see the `sudo` manpage for more info about this)
|
* An indicator when `sudo` has the credentials cached (see the `sudo` manpage for more info about this)
|
||||||
* An indicator when the current shell is inside the Vim editor
|
* An indicator when the current shell is inside the Vim editor
|
||||||
|
|
@ -67,6 +68,7 @@ The contents of both prompt sides can be "reordered", all the "segments" (every
|
||||||
* `wd` - Working directory, like `cwd` but doesn't show the full folder
|
* `wd` - Working directory, like `cwd` but doesn't show the full folder
|
||||||
hierarchy, only the directory you're currently in.
|
hierarchy, only the directory you're currently in.
|
||||||
* `shlvl` - Show the current shell level (based on `SHLVL` environment variable), but only if you are not in root shell
|
* `shlvl` - Show the current shell level (based on `SHLVL` environment variable), but only if you are not in root shell
|
||||||
|
* `dirstack` - Show the current dirstack level (based on `DIRSTACK` environment variable), but only if the stack is not empty
|
||||||
|
|
||||||
Two variables can be defined to set the order of the prompt segments:
|
Two variables can be defined to set the order of the prompt segments:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ A colorful theme, where shows a lot information about your shell session.
|
||||||
* Current username and hostname
|
* Current username and hostname
|
||||||
* Current time
|
* Current time
|
||||||
* Current shell level
|
* Current shell level
|
||||||
|
* Current dirstack level (`pushd` / `popd`)
|
||||||
* An indicator when connected by SSH
|
* An indicator when connected by SSH
|
||||||
* An indicator when `sudo` has the credentials cached (see the `sudo` manpage for more info about this)
|
* An indicator when `sudo` has the credentials cached (see the `sudo` manpage for more info about this)
|
||||||
* An indicator when the current shell is inside the Vim editor
|
* An indicator when the current shell is inside the Vim editor
|
||||||
|
|
@ -61,6 +62,7 @@ The contents of the prompt can be "reordered", all the "segments" (every piece o
|
||||||
* `wd` - Working directory, like `cwd` but doesn't show the full folder
|
* `wd` - Working directory, like `cwd` but doesn't show the full folder
|
||||||
hierarchy, only the directory you're currently in.
|
hierarchy, only the directory you're currently in.
|
||||||
* `shlvl` - Show the current shell level (based on `SHLVL` environment variable), but only if you are not in root shell
|
* `shlvl` - Show the current shell level (based on `SHLVL` environment variable), but only if you are not in root shell
|
||||||
|
* `dirstack` - Show the current dirstack level (based on `DIRSTACK` environment variable), but only if the stack is not empty
|
||||||
|
|
||||||
A variable can be defined to set the order of the prompt segments:
|
A variable can be defined to set the order of the prompt segments:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ A colorful theme, where shows a lot information about your shell session.
|
||||||
* Current username and hostname
|
* Current username and hostname
|
||||||
* Current time
|
* Current time
|
||||||
* Current shell level
|
* Current shell level
|
||||||
|
* Current dirstack level (`pushd` / `popd`)
|
||||||
* An indicator when connected by SSH
|
* An indicator when connected by SSH
|
||||||
* An indicator when `sudo` has the credentials cached (see the `sudo` manpage for more info about this)
|
* An indicator when `sudo` has the credentials cached (see the `sudo` manpage for more info about this)
|
||||||
* An indicator when the current shell is inside the Vim editor
|
* An indicator when the current shell is inside the Vim editor
|
||||||
|
|
@ -59,6 +60,7 @@ The contents of the prompt can be "reordered", all the "segments" (every piece o
|
||||||
* `wd` - Working directory, like `cwd` but doesn't show the full folder
|
* `wd` - Working directory, like `cwd` but doesn't show the full folder
|
||||||
hierarchy, only the directory you're currently in.
|
hierarchy, only the directory you're currently in.
|
||||||
* `shlvl` - Show the current shell level (based on `SHLVL` environment variable), but only if you are not in root shell
|
* `shlvl` - Show the current shell level (based on `SHLVL` environment variable), but only if you are not in root shell
|
||||||
|
* `dirstack` - Show the current dirstack level (based on `DIRSTACK` environment variable), but only if the stack is not empty
|
||||||
|
|
||||||
A variable can be defined to set the order of the prompt segments:
|
A variable can be defined to set the order of the prompt segments:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ A colorful theme, where shows a lot information about your shell session.
|
||||||
* Current username and hostname
|
* Current username and hostname
|
||||||
* Current time
|
* Current time
|
||||||
* Current shell level
|
* Current shell level
|
||||||
|
* Current dirstack level (`pushd` / `popd`)
|
||||||
* An indicator when connected by SSH
|
* An indicator when connected by SSH
|
||||||
* An indicator when `sudo` has the credentials cached (see the `sudo` manpage for more info about this)
|
* An indicator when `sudo` has the credentials cached (see the `sudo` manpage for more info about this)
|
||||||
* An indicator when the current shell is inside the Vim editor
|
* An indicator when the current shell is inside the Vim editor
|
||||||
|
|
@ -67,6 +68,7 @@ The contents of the prompt can be "reordered", all the "segments" (every piece o
|
||||||
* `wd` - Working directory, like `cwd` but doesn't show the full folder
|
* `wd` - Working directory, like `cwd` but doesn't show the full folder
|
||||||
hierarchy, only the directory you're currently in.
|
hierarchy, only the directory you're currently in.
|
||||||
* `shlvl` - Show the current shell level (based on `SHLVL` environment variable), but only if you are not in root shell
|
* `shlvl` - Show the current shell level (based on `SHLVL` environment variable), but only if you are not in root shell
|
||||||
|
* `dirstack` - Show the current dirstack level (based on `DIRSTACK` environment variable), but only if the stack is not empty
|
||||||
|
|
||||||
A variable can be defined to set the order of the prompt segments:
|
A variable can be defined to set the order of the prompt segments:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue