2
votes
1answer
300 views

Equivalent of bash's Ctrl-r in PowerShell

does anybody knows of a way to have the backward command search feature of bash [Ctrl-r] (and [Ctrl-o]) that are so useful, in windows powershell ? C-r is a more powerful arrow up history ...
1
vote
1answer
165 views

Is it possible to have App-distinct Color Scheme in ConEmu?

I am presently using Bash (with Cygwin), as well as Powershell, both using ConEmu. I'm using bash.exe and powershell.exe via tasks. I'd like to use different colour schemes for the different ...
-1
votes
1answer
97 views

Can't load a .bash_profile on windows powershell

I'm looking to load a .bash_profile with some aliases and functions on launch but, I haven't been able to find a way to load the .bash_profile. I'm not even sure if it is possible.
1
vote
2answers
218 views

How do I change foreground color based on which command line program is running? (Bash and PowerShell)

I'd like to change the foreground color based on which program is running. Is this possible in either Bash or PowerShell?
4
votes
1answer
397 views

Is there an analog of Bash's Ctrl+Z & fg in Powershell?

I find the combination of Ctrl+Z with subsequent fg on Bash very handy, it's like a command line analog of alt+tab, so I can switch from viewing one file to the output of a running process etc. Is ...
1
vote
2answers
150 views

Can the interactivity of a process be determined programmatically?

Is it possible to determine whether or not a given running process is interactive or merely daemon-like (i.e. an actual daemon, or a tail -f, or similar) using scripting or any other language? If so, ...
0
votes
3answers
820 views

Script to kill multiple process with same session using scripts

How can I kill a process running with in multiple sessions using a bash or powershell script?
4
votes
2answers
715 views

How to load powershell profile from cygwin bash?

So in cygwin bash I am able to type "powershell" to bring me into a powershell prompt but it won't load my powershell profile.ps1 due to not being able to execute scripts, but I can't set the ...
4
votes
1answer
2k views

Equivalent of bash's `source` command in Powershell?

To run a bash script line-by-line (so as to preserve environment variables, for instance), one does the following: $ . myscript.sh Or: $ source myscript.sh I have a PowerShell script that - ...