![]() (edit) Another benefit is that those aliases abstract over differences of invocation on different distros. Eg to quickly add a new one: alias als="nvim $HOME/.bash_aliases & source $HOME/.bash_aliases"īe careful with quoting though, got myself into a situation where every new terminal asked for the root password. You can also edit the full command before running it, if you need.įor his usecase of funky i use ~/.bash_aliases, that way i can easily share them between machines. aliases (which are called abbreviations) are actually expanded after typing, so the full command appears in your history. Just run "fish_config", and it starts a web server, pops open your browser and any changes you make there are saved to your actual config files. Basic configuration (which is good enough, honestly) can be done via a web browser. tab completions are shown to you in advance (in light gray in front of your cursor) history completion searches by default, so I can just type part of a command, hit arrow-up and look through only the relevant results (ZSH also did this, but Fish is better) ![]() ![]() First I moved from Bash to ZSH, but about 2 years ago I switched again to Fish. The single best improvement to my command-line workflow I've done in the last few years has been switching shells. ![]() I'm a VIM-only dev, spend all my day in a Tmux session, and I use the command-line probably a lot more than average. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |