How to use the same DotBot config for Linux and Windows

Questions : How to use the same DotBot config for Linux and Windows


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:
      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:

Skipping ~/oh-my-posh

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.

Total Answers 0

Top rated topics

Multiprocessing in python [broken pool process]

Pointer errors with VNImageRequestHandler attempting OCR

Effective total time for a callee function is higher than that of caller function in intel-vtune

How to use inverse dynamics controller on under-actuated systems

How to validate all input fields, select options at a time on a form

Improve Forest plot for subgroup analysis (not for meta-analysis)?

Create a Command line program to encrypt and save user entered personal data

MongoDB Aggregation pipeline: group array elements by a field without knowing the field value

Restricting Access to what users can see in the Azure portal

I have trouble with iOS calling mpeg audio file

Jdbc DB2 connectivity getting hanged

Do Spark SQL databases and managed tables persist?

How can I update the toolbar when scrolling with CollapsingToolbar

Update AddresBookPolicy AddressLists based on variable input

Vaadin Fusion index.html will result in offline-stub

Not able to connect to Bigquery. Getting error for the JSON fields

TFS/TFVC merge selected changeset vs git cherry-pick between branches

Ag-grid 'agSetColumnFilter' not working with floating filter

Azure Kubernetes - custom role with delete pods

How to translate user inputs in laravel

Groovy => Issues Saving Browser Sessions to Excel File to Reaccess later (Can't cast String back to WebDriver session)

VS Code doesn't solve auto indentation problem for SQL

My mongodb reactjs redux project, the product list shows in column view (vertical) not row (horizontal). I'm tired

I need to migrate a java EE, jsf, jboss eap 6.3 primefaces app to wildfly 8.2.1

How to increase the resolution of leaflet maps in R Shiny

Angular build - Expected identifier but found "*"

PyInvoke: how to handle stdin of a task?

How to check age of a pull request of a repository in github

Spawning multiple instances of the same object concurrently in python

Angular build - Unmatched selector: %

Is RPA.Tables can have the same effect as PrettyTable for outputting a table display?

Get para that doesn't have an immediate child

WSO2 API Manager 3.2.0 Infinite log error: Invalid request line: GET

How to gradually restart a service in docker swarm

Comment out lines between two different patterns within a file

Update Bash version for VSCode's integrated terminal | MacOS

Getting number documents of a collection in Firebase in dart flutter

How to fix prerender error when deploying nextJs on vercel

Trim video always fail when use AVAssetExportPresetPassthrough

Is there a to access PageModel properties inside razor page, without Model prefix?

How to add images to python docxtpl from url

Check if at least one specific value exists looking through all inner arrays in an array (JavaScript)

Android dynamic link doesn't survive fresh app installation

Download CSV file and check columns in the RSpec test

How to avoid "Limit of total fields exceeded" error in metricbeat in conjunction with the prometheus module?

How to create relationships in entities correctly

AWS Cognito JWT attribute-based routing

How to check if server build has been updated in SSR Nuxt application

Display START and END range of objects with Liquid in jekyll static site

Webscraping with Scrapy - spyder error processing POST