5
theuser
5y

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
  • 1
    Don't know much besides customising the prompt a little (https://github.com/dahlbyk/...), but I would love to know more!
  • 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.
  • 1
    @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/
  • 2
    @Commodore Agree on Conemu or Cmder (more info here: https://conemu.github.io/en/...). I often use it as a dropdown terminal.
  • 1
    Sweet, thanks guys!
Add Comment