Skip to content

Commit 3959d9f

Browse files
authored
Feat: Pin oh-my-posh to v24.18.0 (#76)
feat: pin oh-my-posh to v24.18.0
1 parent d798668 commit 3959d9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/installers/ohmyposh.install.zsh

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ TOOL=ohmyposh
22
CONF=$CLI_CONFIG_CONF_LOCATION/$TOOL.conf.sh
33
INSTALL_DIR=$CLI_CONFIG_ROOT/current/ohmyposh
44

5+
APP_VERSION='v24.18.0'
6+
57
if [ -d $INSTALL_DIR ]; then
68
Log 'Seems cli-config/ohmyposh is already installed!'
79
else
810
Log "Installing ohmyposh"
911
mkdir $INSTALL_DIR
10-
wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-$(uname -s | tr 'A-Z' 'a-z')-amd64 -O $INSTALL_DIR/oh-my-posh
12+
wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/${APP_VERSION}/posh-$(uname -s | tr 'A-Z' 'a-z')-amd64 -O $INSTALL_DIR/oh-my-posh
1113
chmod +x $INSTALL_DIR/oh-my-posh
1214

1315
Log "Setting up ohmyposh themes"

0 commit comments

Comments
 (0)