lol

joined 1 year ago
[–] lol@discuss.tchncs.de 8 points 1 day ago* (last edited 1 day ago)

Try defining a function instead of an alias in your .bashrc:

function cap() {
        prename 's/(^[a-z]?)/\U$1/' *
}