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…
I find my git graph, git save, and git lint (also, git fetch --prune but lo alias for that one) extremely useful. Aliases in my ~/.gitconfig: [alias] co = checkout cm = !git add -A && git commit br = branch ci = commit st = status unstage = reset HEAD -- recent = for-each-ref --count=10 --sort=-committerdate refs/heads/ --format="%(refname:short)" overview = log --all --oneline --no-merges recap = !git log --all --on…
Ask HN: Best Command-Line Applications?
311–320 of 393 posts
Re: Ask HN: Best Command-Line Applications?
#312Earlier quoted context omitted.
sure, conceptually it does, but that's not the point. what matters for most is the fact that i can run the application in a text only terminal, on any machine (remote or local), from any device (be it linux, windows, mac or even a mobile phone (ok, that's rarely practical, but it's possible)) a GUI does not offer that advantage. greetings, eMBee.
> what matters for most is the fact that i can run the application in a text only terminal, on any machine (remote or local), from any device (be it linux, windows, mac or even a mobile phone (ok, that's rarely practical, but it's possible)) > a GUI does not offer that advantage Sure, not in the terminal, but X forwarding is a thing and works on every system I've had to use it on.
it's also very susceptible to latency and most applications don't handle slow connections in a usable manner. (they are designed with the expectation that the gui always responds instantly)
to get something of a tmux/screen like experience, xpra is available, which is an awesome piece of work, but it doesn't help with the latency. even over just local wifi i have some applications become unusable over xpra when they work ok over plain remote X.
the problem is not necessarily X but in part GUI in general. i can't click the mouse anywhere until the respective UI item is visible, so i have to wait for that.
on a commandline on the other hand in most cases i can keep typing even on extremely slow connections because i can anticipate what will happen and i know what keys are appropriate to type next.
using mosh i even get something like editable typeahead which is a marvel and very hard to imagine on X.
greetings, eMBee.
Re: Ask HN: Best Command-Line Applications?
#313Useful tool replacements that some people have already mentioned: - ls -> exa - cat -> bat - find -> fd - top -> htop -> glances - grep -> ack -> ag -> rg - hr (to draw a horizontal line in your terminal) A lightning talk about them: https://youtu.be/hp-1plTKOqc?t=551
Re: Ask HN: Best Command-Line Applications?
#314Earlier quoted context omitted.
I am a convert from Spacemacs to Doom, and I have found that one of the main differences that sets Doom apart is easier configurability than Spacemacs. In Doom, there is still the concept of "layers," but IMO it is much easier to figure out what the layers are doing and customize them from there. Also, I have found Doom to be much quicker (takes about 2 seconds to load, not using server/client) and less buggy than Sp…
This. Also, the developer is responsive on his Discord server should you have any issues with the editor. Henrik is patient, kind and reliable, rare traits for open source projects these days.
Re: Ask HN: Best Command-Line Applications?
#315Re: Ask HN: Best Command-Line Applications?
#316Tmux: 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/
That includes support for && and || and a few other things that should go a long way towards making most code you find drop-in ready.
Re: Ask HN: Best Command-Line Applications?
#317Just about every Rust cli app written by sharkdp: https://github.com/sharkdp/fd https://github.com/sharkdp/bat https://github.com/sharkdp/diskus https://github.com/sharkdp/hyperfine For viewing csv's as tabular, paged data from the terminal, check out VisiData (python) https://github.com/saulpw/visidata
Re: Ask HN: Best Command-Line Applications?
#318Nice question! Here my personal setting: - Email : mutt [ http://www.mutt.org/ ] - Passwords manager : pass [ https://www.passwordstore.org/ ] - Navigate directories : autojump [ https://github.com/wting/autojump ] - Task manager : task [ https://taskwarrior.org/ ] - Music : cmus [ https://cmus.github.io/ ] - Text editor : emacs -nw [ https://www.gnu.org/software/emacs/ ]
A few of these (all?) are TUIs and not CLIs. CLIs are command driven. TUIs are driven by user interactions. I'm sure more/better distinctions between the two can be made.
Re: Ask HN: Best Command-Line Applications?
#319Tmux: 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/
If you use a lot of addons, this can load up prompts faster without losing any OMZ goodness.
Re: Ask HN: Best Command-Line Applications?
#320Tmux: 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