mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
lazygit: fix fish integration
This commit is contained in:
parent
432bc8a5da
commit
d375dfc1ff
1 changed files with 5 additions and 7 deletions
|
|
@ -103,14 +103,12 @@ in
|
|||
'';
|
||||
|
||||
fishIntegration = ''
|
||||
function ${cfg.shellWrapperName}
|
||||
set -x LAZYGIT_NEW_DIR_FILE ${lazygitNewDirFilePath}
|
||||
command lazygit $argv
|
||||
if test -f $LAZYGIT_NEW_DIR_FILE
|
||||
cd (cat $LAZYGIT_NEW_DIR_FILE)
|
||||
rm -f $LAZYGIT_NEW_DIR_FILE
|
||||
end
|
||||
end
|
||||
'';
|
||||
|
||||
nushellIntegration = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue