Skip to content

Commit f81a2c7

Browse files
author
Hugo Saporetti Junior
committed
Preparation for HomeSetup upgrade to 1.7 - 6
1 parent aeacbd4 commit f81a2c7

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

bin/apps/bash/hhs-app/plugins/starship/hhs-presets/hhs-starship.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ format = '[(\[$all_status[$ahead_behind](red)\] )]($style)'
8989
untracked = '?'
9090
modified = '!'
9191
deleted = '-'
92-
stashed = '$'
92+
stashed = '\$'
9393
staged = '+'
9494
renamed = '^'
9595

check-badge.svg

+4-4
Loading

install.bash

+6-5
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ Usage: $APP_NAME [OPTIONS] <args>
5454
# Whether to install it without prompts
5555
QUIET=
5656

57-
# Installation log file
58-
INSTALL_LOG="${HOME}/install.log"
59-
6057
# Whether the script is running from a stream
6158
STREAMED="$([[ -t 0 ]] || echo 'Yes')"
6259

@@ -237,8 +234,8 @@ Usage: $APP_NAME [OPTIONS] <args>
237234
# Define the HomeSetup files (.hhs) location
238235
HHS_DIR="${HOME}/.hhs"
239236

240-
# Define the HomeSetup log directory
241-
HHS_LOG_DIR="${HHS_DIR}/log"
237+
# Installation log file
238+
INSTALL_LOG="${HOME}/install.log"
242239

243240
# Dotfiles source location
244241
DOTFILES_DIR="${HHS_HOME}/dotfiles/${SHELL_TYPE}"
@@ -275,6 +272,10 @@ Usage: $APP_NAME [OPTIONS] <args>
275272
BIN_DIR="${HHS_DIR}/bin"
276273
create_directory "${BIN_DIR}"
277274

275+
# Define and create the HomeSetup log directory
276+
HHS_LOG_DIR="${HHS_DIR}/log"
277+
create_directory "${HHS_LOG_DIR}"
278+
278279
# Define the fonts directory
279280
if [[ "Darwin" == "${MY_OS}" ]]; then
280281
FONTS_DIR="${HOME}/Library/Fonts"

0 commit comments

Comments
 (0)