internal directory management
The dirs module defines a small set of functions to store and manage directories.
setOld(d) | Sets the old directory string. |
recent(idx) | Get entry from recent directories list based on index. |
push(dir) | Add dir to the recent directories list. |
pop(num) | Remove the specified amount of dirs from the recent directories list. |
peak(num) | Look at num amount of recent directories, starting from the latest. |
Look at num
amount of recent directories, starting from the latest.
This returns a table of recent directories, up to the num
amount.
num
number
Remove the specified amount of dirs from the recent directories list.
num
number
Want to help improve this page? Create an issue.