wezterm: load shell integration automatically

which follows the upstream RPM packaging https://github.com/wez/wezterm/blob/main/ci/deploy.sh#L83-L121
This commit is contained in:
Sandro Jäckel 2021-08-26 16:49:10 +02:00
parent 1fc2520df1
commit 8ff90c392c
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

@ -82,7 +82,7 @@ rustPlatform.buildRustPackage rec {
install -Dm644 assets/wezterm.appdata.xml $out/share/metainfo/org.wezfurlong.wezterm.appdata.xml
# helper scripts
install -Dm644 assets/shell-integration/wezterm.sh $out/share/wezterm/shell-integration/wezterm.sh
install -Dm644 assets/shell-integration/wezterm.sh -t $out/etc/profile.d
'';
preFixup = lib.optionalString stdenv.isLinux ''