4
theuser
6y

Any good productivity ideas for Powershell profiles?

I currently have a couple of aliases for frequent commands, Posh-Git import and bash-like tab completion.

Comments
  • 0
    As a generic template that's already pretty good. If I were to further optimise my productivity, i'ld look to automate some of my daily tasks.

    Sooo why do you do on a daily basis with powershell my good sir?
  • 1
    @Commodore Lots of git (maybe a "stash current work, checkout master pull" function), lots of cp and mv operations, occasional chocolatey updates and installations.

    Come to think of it, I would also like to open a couple of powershells automatically at startup. I usually have 3 or 4 tiled instances open.
  • 0
    @theuser the first one is a simple git alias:

    pull-master = !"git add . && git stash && git checkout master && git pull && git checkout - && git stash pop && git reset HEAD ."

    for the cp & chololately, you're on your own :P

    as for the multiple PS windows, i'ld check something like conemu: https://conemu.github.io/
  • 1
    Sweet, thanks guys!
Add Comment