We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d798668 commit 815c2e6Copy full SHA for 815c2e6
src/installers/ohmyposh.install.zsh
@@ -2,12 +2,14 @@ TOOL=ohmyposh
2
CONF=$CLI_CONFIG_CONF_LOCATION/$TOOL.conf.sh
3
INSTALL_DIR=$CLI_CONFIG_ROOT/current/ohmyposh
4
5
+APP_VERSION='v24.18.0'
6
+
7
if [ -d $INSTALL_DIR ]; then
8
Log 'Seems cli-config/ohmyposh is already installed!'
9
else
10
Log "Installing ohmyposh"
11
mkdir $INSTALL_DIR
- 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
13
chmod +x $INSTALL_DIR/oh-my-posh
14
15
Log "Setting up ohmyposh themes"
0 commit comments