wezterm: install shell-integration script
This commit is contained in:
parent
868fe58aba
commit
f20016a4ab
|
@ -87,13 +87,18 @@ rustPlatform.buildRustPackage rec {
|
|||
buildInputs = runtimeDeps;
|
||||
|
||||
postInstall = ''
|
||||
# terminfo
|
||||
mkdir -p $terminfo/share/terminfo/w $out/nix-support
|
||||
tic -x -o $terminfo/share/terminfo termwiz/data/wezterm.terminfo
|
||||
echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
|
||||
|
||||
# desktop icon
|
||||
install -Dm644 assets/icon/terminal.png $out/share/icons/hicolor/128x128/apps/org.wezfurlong.wezterm.png
|
||||
install -Dm644 assets/wezterm.desktop $out/share/applications/org.wezfurlong.wezterm.desktop
|
||||
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
|
||||
'';
|
||||
|
||||
preFixup = lib.optionalString stdenv.isLinux ''
|
||||
|
|
Loading…
Reference in a new issue