all repos — nixfiles @ 986efd80c92a671eea0a950997ef1ca42050b551

System and user configuration, managed by nix and home-manager

zsh: install and set up tere to quickly move around the file system

Alan Pearce
commit

986efd80c92a671eea0a950997ef1ca42050b551

parent

5ecc7f4e889be6bc899d2f7faa72d44c422f4c6c

1 file changed, 5 insertions(+), 0 deletions(-)

changed files
M user/zsh/zshrcuser/zsh/zshrc
@@ -164,3 +164,8 @@ ecpenv () {
esetenv "$1" "${(P)1}" } compdef '_parameters' ecpenv + +tere() { + local result=$(command tere "$@") + [ -n "$result" ] && cd -- "$result" +}