home/vscode: fix zsh tab completion in other terminal issue
This commit is contained in:
parent
e9fb3d71d8
commit
cb3318bc93
@ -27,7 +27,15 @@ in
|
|||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
package = pkgs.vscode;
|
package = pkgs.vscode.overrideAttrs (prev: {
|
||||||
|
# NOTE: this messes up zsh's tab completion in the terminal whenever code is started
|
||||||
|
# from within a shell
|
||||||
|
preFixup = prev.preFixup + ''
|
||||||
|
gappsWrapperArgs+=(
|
||||||
|
--unset TMUX_PANE
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
|
||||||
userSettings = let
|
userSettings = let
|
||||||
editor = mapPrefixToSet "editor" {
|
editor = mapPrefixToSet "editor" {
|
||||||
|
Loading…
Reference in New Issue
Block a user