weird@sub.wetshaving.social to linuxmemes@lemmy.world · 3 months agoThat is the waysub.wetshaving.socialimagemessage-square145fedilinkarrow-up1935arrow-down118
arrow-up1917arrow-down1imageThat is the waysub.wetshaving.socialweird@sub.wetshaving.social to linuxmemes@lemmy.world · 3 months agomessage-square145fedilink
minus-squaremoopet@sh.itjust.workslinkfedilinkEnglisharrow-up3·3 months agogit () { if [ "$1" = "cd" ] then shift cd "./$(command git rev-parse --show-cdup)$*" else command git "$@" fi }
git () { if [ "$1" = "cd" ] then shift cd "./$(command git rev-parse --show-cdup)$*" else command git "$@" fi }