• Artyom@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago
    cs () {
        cd $1;
        ls ${@:2}
    }
    

    You (probably) only want to pass the first argument to cd, this’ll send the rest to ls.