Skip to content

Instantly share code, notes, and snippets.

View mamciek's full-sized avatar

Maciej Mazur mamciek

  • Poznań, Poland
View GitHub Profile
@sebastien
sebastien / nix-fishgen.py
Last active May 31, 2021 02:52
Python script that converts Nix's profile bash script to Fish
#!/usr/bin/env python3
# Updated: 2018-10-17
import re, sys, os
"""
Converts the Nix profile SH script to a Fish-compatible profile using a
simple line-by-line replace algorithm.
"""