Live data from Hacker News

Ask HN: Best Command-Line Applications?

news.ycombinator.com

331–340 of 393 posts

Re: Ask HN: Best Command-Line Applications?

#333

Earlier quoted context omitted.

So far I've been using Chocolatey ( https://chocolatey.org ) for doing this (and ninite though that's not command line). But this looks pretty cool too. Thanks for sharing!

I created a small CLI tool that I package for Homebrew, Snap, Docker, Chocolatey and Scoop, and I prefer the packaging experience for Scoop, which is the most easy and straightforward one. Compare the respective directories in https://github.com/philippgille/serve .

Nice tool btw! I wish I'd known about it 5 days ago, when I taught a class that involved a little bit of web development. I used devd, but getting it in the PATH was a non trivial task for some of the trainees who used Windows. Serve has an installer, which presumably solves that even without scoop or chocolatey.

Re: Ask HN: Best Command-Line Applications?

#334

* fish - essential prerequisite in order to live in the command line * autojump (aka j) - for changing directories quickly * open - required to interact with the non-cli world, ships by default on macOS and here's one for Windows/WSL: https://github.com/neosmart/open * imgpaste - for pasting screenshots into a PNG or JPEG directly ( https://github.com/neosmart/imgpaste ) * pbpaste - for pasting into the shell (or if…

* howdoi: stackoverflow from the shell: https://github.com/gleitz/howdoi, don't leave you terminal while programming

Re: Ask HN: Best Command-Line Applications?

#335

Tmux: https://github.com/tmux/tmux/ fish-shell: https://github.com/fish-shell/fish-shell/ ranger: https://github.com/ranger/ranger/ tig: https://github.com/jonas/tig/ ag or rg: https://github.com/ggreer/the_silver_searcher https://github.com/BurntSushi/ripgrep And all my configurations, especially for fish-shell: http://github.com/c02y/dotfiles

I love fish-shell, but after years of using it I switched to Oh My ZSH! . The bash compatibility makes it a whole lot easier to use when you're the type of person who has to look up "how to do X on the command line" on the internet more often than you'd like to admit (that would be me). https://ohmyz.sh/

I'm in the same boat as you. Also used Fish for several years and loved it, but there's some incompatibilities here and there (dont remember exactly what, I think it was difference in how to pipe streams vs bash/zsh). In the end i switched to zsh & oh-my-zsh and haven't run into issues since (made the switch maybe 6 years ago). I'm a heavy terminal user so this part I'm not experimenting with again.

Re: Ask HN: Best Command-Line Applications?

#336
post #72
post #25

Earlier quoted context omitted.

I use git so much that I made these aliases in zsh: alias g="git show" alias gh="git show HEAD" alias gs="git status" alias gl="git log" alias gco="git checkout" alias gd="git diff" alias gbl="git branch -v" alias gbd="git branch -D" alias gri="git rebase --interactive" alias grc="git rebase --continue" alias gra="git rebase --abort" alias gst="git stash" alias gsta="git stash apply" alias gx="gco -- \*; git reset HE…

nice ones! couple from my bash_alias alias ..="cd .." alias ..2="cd ../.." # ... you get the idea, mine goes up to 5 function mkcd () { mkdir -p "$@" && eval cd "\"\$$#\""; } alias h="history|grep"

    alias ...="cd ../.."
    alias ....="cd ../../.."

Re: Ask HN: Best Command-Line Applications?

#337
post #278

There are so many to list that I'll skip the more obvious ones (they're well represented in the comments) and pick a few that I've been enjoying a lot lately: Netflix-Skunkworks/go-jira[0] - Jira interface written in Go that is incredibly flexible. bat[1] - cat with code highlighting climate[2] - Shell swiss-army knife of tools That last one deserves a post on its own. It's certainly not the most portable thing -- re…

> such as getting an external IP address of a host from the command-line. What about using `ping host`? This also prints the ip

or "dig host" for a proper dns lookup

Re: Ask HN: Best Command-Line Applications?

#338

byobu ( http://byobu.co/ ) is an amazing thing to have on your remote server, sessions and switchable windows + splits make this a must-have tool. Think of it as tabs but for your SSH session, plus many more features.

People might be more familiar if you would describe it as a t-mux alternative.

Re: Ask HN: Best Command-Line Applications?

#339

z - track most-used directories and jump to them https://github.com/rupa/z https://github.com/jethrokuan/z (fish port)

Used to use that but stopped after while, figured it's easier to just type a name or alias/symlink it if it's used often -- then it's deterministic in a non-interactive way, i.e. I can type it with my eyes closed and I know the end result.

With tools like z I'll have to type less letters in the end but it requires interaction, and interaction/attention is more expensive than keypresses, at least in my world :)

Re: Ask HN: Best Command-Line Applications?

#340
post #284

Earlier quoted context omitted.

Just for curiosity: you have moved away from Emacs org-mode? If yes may I ask why? I'm using Emacs since few times and it's now even my WM and org-mode is it's companion for nearly all docs/docs related stuff I use, never found anything even near comfortable and powerful as that combo...

yeah, I've never been a big emacs user outside of org-mode, so it was silly for me to be using it for one feature. The VS one covers the basics and has treated me well. For more advanced org-mode folks, I don't think the VS org-mode would be enough.

Thanks, just curious because you are the first I here that have used Emacs and decide for something else.

For org-mode outside Emacs I do not know VSc but I've used in the past Vim port and agree: outside Emacs org-mode support is simply too limited to be considered...

Post reply on HN