mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 16:28:19 +02:00
Finish porting support for color schemes to SSH kitten
This commit is contained in:
@@ -274,3 +274,11 @@ func RandomFilename() string {
|
||||
return base32.StdEncoding.WithPadding(base32.NoPadding).EncodeToString(b)
|
||||
|
||||
}
|
||||
|
||||
func ResolveConfPath(path string) string {
|
||||
cs := os.ExpandEnv(Expanduser(path))
|
||||
if !filepath.IsAbs(cs) {
|
||||
cs = filepath.Join(ConfigDir(), cs)
|
||||
}
|
||||
return cs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user