smartcd
smartcd copied to clipboard
Alter your bash (or zsh) environment as you cd
If `$PWD` ends in a slash, I'm seeing bash_enter run twice, the second time with two slashes between the directory path and bash_enter. E.g. the following is from a new...
The virtualenv helper doesn't evaluate the output of `run_deactivate_if_present()` when leaving ([src](https://github.com/cxreg/smartcd/blob/master/helper/virtualenv/script#L26-L27)) ``` eval run_deactivate_if_present smartcd on-leave run_deactivate_if_present ``` This results in smartcd just printing the shell code instead of...
load_smartcd is incorrectly identifying itself as being run as a command when it is sourced. Also curl based install doesn't work anymore.
Attempting to autostash a function in an enter script results in the function being run for every other entry in the file. With the following enter script: ``` autostash npm()...
Place the following in your `.bashrc`: ``` alias hello='echo "hello world"' ``` Then setup an `enter` script for any directory containing the following: ``` autostash alias hello='echo "hello gophers"' ```...
I suspect this is not something that can feasibly be fixed, however I figured I'd better report it anyway. After installing smartcd in my [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/about) (the Ubuntu...
Not sure if this is really smart, but I've added it a while back for zsh-autoenv (https://github.com/Tarrasch/zsh-autoenv/commit/c4e388980e44c339b4f1246e7b1f3ee6e3ac1b38).
Hi, I like to organize all my dotfiles outside of my home directory and split up application data from user configuration. The XDG directories help do that - scripts would...
I am seeing a few test failures with `make test_bash`. The first one ("35 - autoedit seems to work") also happens with zsh. ``` t/harness.sh /bin/bash Testing with SHELL=/bin/bash 1..19...
https://github.com/cxreg/smartcd/commit/c8356e92a967f90c17ef0f5bc8bef6fa06605185 was meant to fix it, but it does not work. When sourcing it from zsh, I get: ``` % source load_smartcd +load_smartcd:3> [[ -n 5.0.6-dev-0 ]] +load_smartcd:4> [[ ''...