From 28dc9db7a9410eb8a833c0b3d5825effcb2b7519 Mon Sep 17 00:00:00 2001 From: Matt Burchett Date: Mon, 14 Jan 2019 09:28:19 -0600 Subject: [PATCH] Test --- config.json | 2 +- pkg/shell/shell.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index a3289d9..f30c71d 100644 --- a/config.json +++ b/config.json @@ -4,6 +4,6 @@ "domains": [ "kc.linuxrocker.com"], "jumpHost": "jump01.kc.linuxrocker.com", "useJump": false, - "splitString": ".linuxrocker", + "splitString": ".linuxrocker.com", "windowsGeometry": "1600x900" } \ No newline at end of file diff --git a/pkg/shell/shell.go b/pkg/shell/shell.go index 4ac29cf..3ea295d 100644 --- a/pkg/shell/shell.go +++ b/pkg/shell/shell.go @@ -26,7 +26,7 @@ func CreateShellAliases(data []string, username string, config config.Config) { prerac := "" windowsGeometry := config.WindowsGeometry - host := strings.TrimRight(hostname, stringSplit) + host := strings.TrimSuffix(hostname, stringSplit) fqdn := hostname greentext := "tput -T xterm setaf 2; "