Better HN
topnewbestaskshowjobs
Log inSign up

sweenycod

523 karma · joined Oct 21, 2015 (11y ago) · 45 submissions

Submissions

comment 9y ago · link · parent

I was definitely talking about adoption ;-). See my comment https://news.ycombinator.com/item?id=13400707

comment 9y ago · link · parent

I use tmux. The benefit of using suspend is not having to move around multiple windows/tabs. I try to keep those to a minimum (usually one or two). With suspend I can stick with the same tmux window for editing and cli within the same context. It's a personal preference over managing multiple windows.

comment 9y ago · link · parent

There is also a silver searcher plugin for vim (ag).

comment 9y ago · link · parent

I use most of it on both GNU Linux and Mac. I have installed coreutils (GNU bins) and bash v4.4.5 via homebrew on Mac. It's probably safer to say these are more specific to Linux.

comment 9y ago · link · parent

You can also put those in your ~/.inputrc

comment 9y ago · link · parent

You're probably right about oh-my-zsh. I really only hear people refer to zsh as "oh my zsh" which makes me smile.

comment 9y ago · link · parent

I don't use the version that ships with MacOS. You can install the latest version with `brew install bash`. I'm currently using 4.4.5.

Nevertheless, I updated the post to add bash 4 to the assumptions.

comment 9y ago · link · parent

I wasn't so much commenting on the release date when I said "newcomers." Mostly commenting on my personal experience. I've been using bash for a long time and only recently have I seen zsh get so popular. It's entirely possible that only the people I know have only recently taken an interest in it.

I would have to run zsh again to remember the pieces that I didn't like. I might have been able to configure my way around it, but I do remember things not working as I expected them to.

comment 9y ago · link · parent

Ah yes. Thank you for the correction.

comment 9y ago · link · parent

I didn't know about :r in combination with !. That's neat. I typically use :r for reading a file into the current buffer (instead of cp <file> <new>). Thanks for sharing.

I don't find myself using ! commands when I know there are multiple commands that I need to run (like your last example). That's usually when I'll suspend and then use the command line.

Could you elaborate on "wreak havoc on your vim session?" I wasn't aware that suspending the process and bringing it back into the fg would harm anything.

comment 9y ago · link · parent

Tmux is great. I have another writing in progress on my tmux workflow.

42.

Mastering Bash and Terminal(blockloop.io ↗)

638 points · by blockloop · 9y ago · 180 comments

comment 9y ago · link · parent

Amazon wants to build a Protoss carrier

44.

The Fallacy of ReUse (2009)(udidahan.com ↗)

1 points · by sweenycod · 10y ago · discuss

45.

Native Docker Is Not Native(blockloop.io ↗)

3 points · by blockloop · 10y ago · discuss

12