1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/pkg
Jesse Duffield cbc82cd3c1 allow for changing the current directory on exit
For this to work you'll need to put this in your ~/.zshrc (or equivalent rc file):

lg()
{
    export LAZYGIT_NEW_DIR_FILE=/Users/jesseduffieldduffield/Library/Application\ Support/jesseduffield/lazygit/.lastd

    lazygit "$@"

    if [ -f $LAZYGIT_NEW_DIR_FILE ]; then
            cd "$(cat $LAZYGIT_NEW_DIR_FILE)"
            rm -f $LAZYGIT_NEW_DIR_FILE > /dev/null
    fi
}
2019-11-11 21:45:31 +11:00
..
app 472 - Don't panic if not in a repository 2019-07-14 14:24:18 +10:00
commands reset patch builder when we've escaped from the building phase and nothing has been added 2019-11-10 16:18:25 +11:00
config add some shameless self promotion 2019-11-10 22:32:13 +11:00
gui allow for changing the current directory on exit 2019-11-11 21:45:31 +11:00
i18n add some shameless self promotion 2019-11-10 22:32:13 +11:00
test fix up tests 2019-03-02 13:39:09 +11:00
theme support split view in staging panel and staging ranges 2019-11-05 19:22:01 +11:00
updates UserConfigPath -> UserConfigDir 2019-09-24 19:01:40 +10:00
utils Support building and moving patches 2019-11-05 19:22:01 +11:00