evil.bashrc

From NAT, 6 Years ago, written in Bash, viewed 517 times.
URL https://code.nat.moe/view/b5e84aa3 Embed
Download Paste or View Raw
  1. #!/bin/bash
  2. shopt -s extglob
  3. local IFS pattern
  4. IFS='|'
  5. pattern="*@($*)*"
  6. IFS=':'
  7. for d in $PATH; do
  8.         for x in "$d/"$pattern; do
  9.                 [ "$x" = "$d/$pattern" ] || alias "${x##*/}"=true
  10.         done
  11. done

Reply to "evil.bashrc"

Here you can reply to the paste above

captcha