4 ms·
https://fishshell.com/ https://fishshell.com/ for sure Just having sensible defaults on a shell works wonders on my day-to-day productivity. Add a couple of a
by macobo 6y ago
https://fishshell.com/ https://fishshell.com/ for sure
Just having sensible defaults on a shell works wonders on my day-to-day productivity.
Add a couple of aliases for productivity and off you go.
abbr --add s "git status"
abbr --add gap "git add --patch"
abbr --add gco "git checkout"
abbr --add gd "git diff"
alias recent="git for-each-ref --sort=-committerdate refs/heads/ --format='%(color:yellow)%(refname:short)|%(color:bold green)%(committerdate:relative)|%(color:blue)%(subject)%(color:reset)' | column -ts'|' | tac"
alias r="recent"
- posedge 6y agoSecond that. Would additionally recommend the fzf for fuzzy reverse history search. Absolute gold
- eyelidlessness 6y agoI absolutely love Fish, but it's worth warning anyone who's taking a first look and excited to try it, that some syntax differences from more familiar shells like Bash may cause frustration, both in terms of muscle memory and anytime you need to copypasta. It hasn't been enough of a problem for me to switch back (or to ZSH), the benefits far outweigh the frustration, but I do think it's worth a small warning.
- toastal 6y agoThis one's tricky. I've driven fish daily for years, and it's definitely snappier than my old omzsh setup (I much prefer this style of history), but you can get bitten by certain tools not using shebangs properly.
- zerd 6y agoI use zsh and found https://github.com/zsh-users/zsh-autosuggestions https://github.com/zsh-users/zsh-autosuggestions to be very comparable with fish autocomplete, while keeping zsh niceties.