Skip to content

add directory stack support to tilde expansion

Michael Aaron Murphy requested to merge MovingtoMars:tilde_dir into master

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 a directory_stack parameter
  • new Variables.get_var_or_empty() method designed to replace many uses of Variables.expand_string(), to increase performance and prevent needing to pass the dir stack around as much Drawbacks: New parameter in the Variables.expand_*() methods

Fixes: #156 (closed)

State: Ready

Merge request reports