<commit_before>#!/usr/bin/env ruby

puts "Okay, let's make your terminal a bit more hipsta.\n\n"

bin_dir = (`pwd`.delete!("\n") + "/bin")
Dir.mkdir(bin_dir) unless File.exists?(bin_dir)

emojis = [
    # System
    ["cat", "🐈"],
    ["cal", "📅"],
    ["finger", "🖕"],
    ["man", "👨"],
    ["say", "👄"],
    ["top", "🔝"],
    ["touch", "👉"],
    ["units", "📐"],
    ["zip", "🤐"],


    # User
    ["atom", "⚛"],
    ["brew", "🍺"],
    ["grunt", "🐗"],
    ["java", "☕"],
    ["ruby", "💎"],
    ["rails", "🛤"],
    ["psql", "🐘"],
]

emojis.each do | item |
    found = (`which #{item[0]}` != "")
    if found
        file_path = "#{bin_dir}/#{item[1]}"
        File.open(file_path, 'w') do | file |
            file.write(
                "#!/usr/bin/env bash\n\n" +
                "#{item[0]} \"$@\"\n"
            )

            `chmod +x #{file_path}`
            puts "#{item[1]}  mapped to #{item[0]}"
        end
    end
end

puts "\nDone."
puts "The last step is to add #{bin_dir} to your $PATH."

<commit_msg>Add grep and rm<commit_after>#!/usr/bin/env ruby

puts "Okay, let's make your terminal a bit more hipsta.\n\n"

bin_dir = (`pwd`.delete!("\n") + "/bin")
Dir.mkdir(bin_dir) unless File.exists?(bin_dir)

emojis = [
    # System
    ["cat", "🐈"],
    ["cal", "📅"],
    ["finger", "🖕"],
    ["grep", "🍇"],
    ["man", "👨"],
    ["rm", "💩"],
    ["say", "👄"],
    ["top", "🔝"],
    ["touch", "👉"],
    ["units", "📐"],
    ["zip", "🤐"],


    # User
    ["atom", "⚛"],
    ["brew", "🍺"],
    ["grunt", "🐗"],
    ["java", "☕"],
    ["ruby", "💎"],
    ["rails", "🛤"],
    ["psql", "🐘"],
]

emojis.each do | item |
    found = (`which #{item[0]}` != "")
    if found
        file_path = "#{bin_dir}/#{item[1]}"
        File.open(file_path, 'w') do | file |
            file.write(
                "#!/usr/bin/env bash\n\n" +
                "#{item[0]} \"$@\"\n"
            )

            `chmod +x #{file_path}`
            puts "#{item[1]}  mapped to #{item[0]}"
        end
    end
end

puts "\nDone."
puts "The last step is to add #{bin_dir} to your $PATH."


{'fraction_non_alphanumeric': 0.27895752895752896, 'fraction_numerical': 0.004826254826254826, 'mean_word_length': 2.0043478260869567, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3766756', 'n_tokens_mistral': 928, 'n_tokens_neox': 887, 'n_words': 199}