File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tools/tui/shell_integration Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ func extract_shell_integration_for(shell_name string, dest_dir string) (err erro
5050 return
5151}
5252
53- func EnsureShellIntegrationFilesFor (shell_name string ) (shell_integration_dir string , err error ) {
53+ func EnsureShellIntegrationFilesFor (shell_name string ) (shell_integration_dir_for_shell string , err error ) {
5454 if kid := os .Getenv ("KITTY_INSTALLATION_DIR" ); kid != "" {
5555 if s , e := os .Stat (kid ); e == nil && s .IsDir () {
5656 q := filepath .Join (kid , "shell-integration" , shell_name )
@@ -66,7 +66,7 @@ func EnsureShellIntegrationFilesFor(shell_name string) (shell_integration_dir st
6666 if err = extract_shell_integration_for (shell_name , base ); err != nil {
6767 return "" , err
6868 }
69- return filepath .Join (base , "shell-integration" ), nil
69+ return filepath .Join (base , "shell-integration" , shell_name ), nil
7070}
7171
7272func is_new_zsh_install (env map [string ]string , zdotdir string ) bool {
You can’t perform that action at this time.
0 commit comments