add directory stack support to tilde expansion
Created by: MovingtoMars
Problem: Tilde expansion does not support accessing the directory stack.
Changes introduced by this pull request:
- tilde expansion supports the directory stack
-
Variables.expand_*()
methods now have adirectory_stack
parameter - new
Variables.get_var_or_empty()
method designed to replace many uses ofVariables.expand_string()
, to increase performance and prevent needing to pass the dir stack around as much Drawbacks: New parameter in theVariables.expand_*()
methods
Fixes: #156 (closed)
State: Ready