Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you tell me more about your bash setup?

It seems silly, but to me two big annoyances are

1. I can't figure out how to easily open up the bash/ubuntu thing where I need it. I'd love to just have a dedicated "github stuff" folder that it opens into by default (and can edit). I always seem to put stuff where bash ubuntu isn't allowed to touch, or I'm manually CDing around until I find that weird place where the C drive is. I mean yea I can google it, but I'd have to do it every time.

2. Pardon my french but it's fuckugly. The colors, the fonts, lack of transparency. Copying/pasting/etc all suck. How can I make this less sucky?



I actually have a few different setups on my various Windows computers, just to test things. And they are all pretty much equivalent, the only difference is the console I use (Cmder, msysgit, etc...).

The main take aways:

- I share all my dot files (.bash_profile, etc...) between Windows and Mac OS. They are in a Google Drive folder and whenever I move to a new machine, I just copy them all verbatim and they work right away.

- Bash, git and ssh work out of the box on these Windows/UNIX shells.

I agree with the colors, fonts and the copy/paste interaction on Windows. Not great, but tolerable. I want to experiment with more consoles since there are so many to choose from on Windows.

Oh and Cmder has transparency and you can configure copy/paste to be by line instead of by block, at least.


>they are in a google drive folder

OOOOooooh this is fucking smart. How have I not thought of this?!


I use ConEmu in windows as my terminal of choice.. there are options to add an "open command prompt here" to the registry for directories/folders so you can right-click in explorer... You can also configure git-bash as your default... Copy/paste also get better... with the windows terminal, you can go into the config and choose the quick paste option, I forget what it's called on a mac at work.

Mostly, I use vs code, and open that from where I am in explorer.. it has it's own terminal that opens in the current directory, that I change to use git-bash -l, adding in the git prompt script(s). Overall it works very well, imho better than bash for windows (ubuntu userspace).


1. I put a cmd link in my taskbar, which opens to my Repos folder, and then launches bash (which will open in that folder under /mnt/c). Or just do `ln -s /mnt/c/My/Repo ~/GithubStuff` and have a symlink from Ubuntu land into your Windows drive.

2. Colors are better supported in the CU coming out in 3 weeks, and transparency + copy/paste can be setup via the file menu (right click on the logo in the command prompt title bar and go to Properties).


> it's fuckugly. The colors, the fonts, lack of transparency. Copying/pasting/etc all suck.

No kidding. cmd has not meaningfully changed since its original version. It just sucks. No matter how nice the shells are.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: