From 387ce53a97b1fabd95d13ff6074a42a920ffca6f Mon Sep 17 00:00:00 2001 From: Anthony Date: Fri, 15 Nov 2024 02:13:54 +1100 Subject: [PATCH] Revert "Update shebangs in installed shellscripts to meet `rpmlint` and match provided paths at [pkgs.org](https://fedora.pkgs.org/41/fedora-x86_64/elvish-0.21.0-4.fc41.x86_64.rpm.html)" This reverts commit c936276781107904e9af810e52f3661e91adc629. --- src/shell-integration/bash/bash-preexec.sh | 1 - src/shell-integration/bash/ghostty.bash | 2 +- src/shell-integration/elvish/lib/ghostty-integration.elv | 1 - src/shell-integration/zsh/ghostty-integration | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/shell-integration/bash/bash-preexec.sh b/src/shell-integration/bash/bash-preexec.sh index 4a8483052..14a677888 100644 --- a/src/shell-integration/bash/bash-preexec.sh +++ b/src/shell-integration/bash/bash-preexec.sh @@ -1,4 +1,3 @@ -#!/usr/bin/bash # bash-preexec.sh -- Bash support for ZSH-like 'preexec' and 'precmd' functions. # https://github.com/rcaloras/bash-preexec # diff --git a/src/shell-integration/bash/ghostty.bash b/src/shell-integration/bash/ghostty.bash index 34fd4e923..6a5da35cc 100644 --- a/src/shell-integration/bash/ghostty.bash +++ b/src/shell-integration/bash/ghostty.bash @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/usr/bin/env bash # # This is originally based on the recommended bash integration from # the semantic prompts proposal as well as some logic from Kitty's diff --git a/src/shell-integration/elvish/lib/ghostty-integration.elv b/src/shell-integration/elvish/lib/ghostty-integration.elv index e0ba09f38..3d2f4a632 100644 --- a/src/shell-integration/elvish/lib/ghostty-integration.elv +++ b/src/shell-integration/elvish/lib/ghostty-integration.elv @@ -1,4 +1,3 @@ -#!/usr/bin/elvish { fn restore-xdg-dirs { use str diff --git a/src/shell-integration/zsh/ghostty-integration b/src/shell-integration/zsh/ghostty-integration index 6af443986..662d5febb 100755 --- a/src/shell-integration/zsh/ghostty-integration +++ b/src/shell-integration/zsh/ghostty-integration @@ -1,4 +1,4 @@ -#!/usr/bin/zsh +#!/usr/bin/env zsh # # Based on (started as) a copy of Kitty's zsh integration. Kitty is # distributed under GPLv3, so this file is also distributed under GPLv3.