Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSymlink ¶
CreateSymlink creates a symlink from ~/.config/starship.toml to the target file. If an original (non-symlink) starship.toml exists, it's backed up first. Returns the backup path if a backup was created (empty string if no backup was needed).
Uses atomic symlink replacement (temp-then-rename) to prevent data loss: If symlink creation fails, the original config remains intact.
func GetCurrentTarget ¶
func StarshipConfigPath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.