Skip to content

Conversation

tkmru
Copy link

@tkmru tkmru commented Aug 16, 2021

A modern replacement for ln.

@SuperSandro2000
Copy link

This is basically alias mln=ln -s

@vtintillier
Copy link

There's also the argument order stuff.

@SuperSandro2000
Copy link

There's also the argument order stuff.

mln() {
  ln -s "$2" "$1"
}

@vtintillier
Copy link

My understanding is that it supports both ln -s source target and ln -s target source

@slavaGanzin
Copy link

mln() {
  ln -s "$1" "$2" || ln -s "$2" "$1"
}

but you dont' get it! it's written in GO! as all cool kids do

@tkmru
Copy link
Author

tkmru commented Aug 16, 2021

Thank you for using the tools I created!

@blaggacao
Copy link

Unrelated, but sad. 😢

nix profile install nixpkgs#mln
error: flake 'flake:nixpkgs' does not provide attribute 'packages.x86_64-linux.mln', 'legacyPackages.x86_64-linux.mln' or 'mln'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants