Shopify / slate

Slate is a toolkit for developing Shopify themes. It's designed to assist your workflow and speed up the process of developing, testing, and deploying themes.
https://shopify.github.io/slate
MIT License
1.28k stars 364 forks source link

FISH Command for SSL_CHECK #963

Open nathanaelphilip opened 5 years ago

nathanaelphilip commented 5 years ago

Could someone who’s used this with their FISH setup mind sharing their command? I love FISH, but I’m not 100% sure I know what I’m doing trying to make the conversion.

https://github.com/Shopify/slate/wiki/4.-Create-a-self-signed-SSL-certificate

qw-in commented 5 years ago

Hey, super old but I had the same issue. Two simple options:

  1. Switch to bash to run it (run bash)
  2. Run the commands yourself (I have a static IP so went this route)
  3. Stick the script in a file and run it from there
#!/bin/bash

# ... the script

ssl-check # call the script

If you make it executable you can call it from fish ./my-script

nathanaelphilip commented 5 years ago

@qw-in thank you!!! If anyone else is having issues, I added the function in ~/.bashrc, switched to bash bash ---login, then ran source ~/.bashrc, then ran the function ssl-check. I also exported the function at the bottom of the bashrc file: export -f ssl-check. Not sure if that was required or not, but came across it during my search.

i think a Fish function would still be dope.