summaryrefslogtreecommitdiff
path: root/src/shell-integration/bash/ghostty.bash
diff options
context:
space:
mode:
authorJason Rayne <yo@arcayne.dev>2025-06-13 17:03:20 -0700
committerJason Rayne <yo@arcayne.dev>2025-06-25 15:46:18 -0700
commit8f93d8fe030a3c14ec8ab358a974f70beb0995c4 (patch)
tree78a16d45caaf680a5776d548565e6c447bd2832a /src/shell-integration/bash/ghostty.bash
parent142e07c502dfbb274892cd5aa640ade31264183d (diff)
fix: use kebab-case for ssh-integration enum values
Diffstat (limited to 'src/shell-integration/bash/ghostty.bash')
-rw-r--r--src/shell-integration/bash/ghostty.bash8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shell-integration/bash/ghostty.bash b/src/shell-integration/bash/ghostty.bash
index f542261d4..349f65f1f 100644
--- a/src/shell-integration/bash/ghostty.bash
+++ b/src/shell-integration/bash/ghostty.bash
@@ -111,8 +111,8 @@ if [[ -n "$GHOSTTY_SSH_INTEGRATION" && "$GHOSTTY_SSH_INTEGRATION" != "off" ]]; t
# will take precedence over this function, and it won't be wrapped.
function ssh {
case "$GHOSTTY_SSH_INTEGRATION" in
- "term_only")
- _ghostty_ssh_term_only "$@"
+ "term-only")
+ _ghostty_ssh_term-only "$@"
;;
"basic")
_ghostty_ssh_basic "$@"
@@ -127,8 +127,8 @@ if [[ -n "$GHOSTTY_SSH_INTEGRATION" && "$GHOSTTY_SSH_INTEGRATION" != "off" ]]; t
esac
}
- # Level: term_only - Just fix TERM compatibility
- _ghostty_ssh_term_only() {
+ # Level: term-only - Just fix TERM compatibility
+ _ghostty_ssh_term-only() {
if [[ "$TERM" == "xterm-ghostty" ]]; then
TERM=xterm-256color command ssh "$@"
else