Make confirmation fit present-terminal
This commit is contained in:
1 parent
3d755424a2
commit
985a594bf4
1 file changed
+1
-1
@@ -18,7 +18,7 @@ fi
|
|||||||
|
|
||||||
# Check if nvim config already exists
|
# Check if nvim config already exists
|
||||||
if [[ -d "$CONFIG_DIR" ]]; then
|
if [[ -d "$CONFIG_DIR" ]]; then
|
||||||
if gum confirm "Neovim configuration already exists at $CONFIG_DIR. This will create a backup and overwrite it. Continue?"; then
|
if gum confirm "$(echo -e "Neovim configuration already exists at $CONFIG_DIR.\nThis will create a backup and overwrite it. Continue?")"; then
|
||||||
# Backup existing config
|
# Backup existing config
|
||||||
BACKUP_DIR="${CONFIG_DIR}.backup.$(date +%Y%m%d-%H%M%S)"
|
BACKUP_DIR="${CONFIG_DIR}.backup.$(date +%Y%m%d-%H%M%S)"
|
||||||
echo "Backing up existing config to $BACKUP_DIR"
|
echo "Backing up existing config to $BACKUP_DIR"
|
||||||
|
|||||||
Reference in new issue
Block a user