design: hopefully work around CD wonk
This commit is contained in:
parent
5873d47193
commit
85953236c2
1 changed files with 6 additions and 0 deletions
|
@ -28,3 +28,9 @@ $XDG_DATA_DIRS = [
|
|||
"/usr/local/share",
|
||||
$HOME + "/.nix-profile/share"
|
||||
]
|
||||
|
||||
# Make sure cd isn't run as a subprocess.
|
||||
# Gods help us that this is necessary.
|
||||
import xonsh.tools
|
||||
aliases['cd'] = xonsh.tools.unthreadable(xonsh.dirstack.cd)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue