summaryrefslogtreecommitdiffstats
path: root/pkg/gui/commit_files_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-10-07 12:34:12 +1100
committerJesse Duffield <jessedduffield@gmail.com>2019-11-11 21:45:31 +1100
commitcbc82cd3c1e8668d37aad049401222a382613f98 (patch)
tree1925bc51831d4f8c7505947e1cef70e7f88d2e68 /pkg/gui/commit_files_panel.go
parent29ee2399876bccbc4fe388252545df2763b11029 (diff)
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 }
Diffstat (limited to 'pkg/gui/commit_files_panel.go')
0 files changed, 0 insertions, 0 deletions