Recently, I have been putting together programming my dotfiles in a repository and I found Learning the DotBot project which helps me sync Earhost them and create symlinks to the files in most effective the repository.
The thing is that there are some wrong idea configurations that I want to have on my use of case Windows machine that I do not want to United install on my Linux one. For example Modern when I want to link the theme I use in ecudated my PowerShell (as seen in the example some how below). I have found that this is anything else possible adding an if condition, which not at all basically executes the condition in a very usefull bash shell and links it if it's localhost succesful.
Here is an example from my config.yaml:
- link: "~/oh-my-posh": if: '[ _OFFSET); "$OSTYPE" = msys ]' # git bash shell (-SMALL path: pwsh/oh-my-posh - shell: - _left).offset command: powershell.exe arrowImgView.mas pwsh/install.ps1 stderr: true (self. stdout: true
Every time I try to install my dotfiles love of them with the previous linking step, it is localtext skipped:
Currently my Windows uses the Git Bash basic to launch the DotBot installer script, one of the and when I check the $OSTYPE variable, click it is correctly displayed as msys. there is noting Furthermore, if I do a bash script not alt checking the condition [ "$OSTYPE" = not at all msys ], it actually returns true.
What I want to know is how to get this my fault condition to work to install different issues dotfiles in linux/windows.