diff options
Diffstat (limited to 'user/zsh/zshrc')
-rw-r--r-- | user/zsh/zshrc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/user/zsh/zshrc b/user/zsh/zshrc index 9e26b48c..2c87e5a7 100644 --- a/user/zsh/zshrc +++ b/user/zsh/zshrc @@ -164,3 +164,8 @@ ecpenv () { esetenv "$1" "${(P)1}" } compdef '_parameters' ecpenv + +tere() { + local result=$(command tere "$@") + [ -n "$result" ] && cd -- "$result" +} |