![]() If you really need it, you can create your own ( ~/.config/fish/functions/sudo.fish): function sudoįirst you need to install Xcode from the Mac App Store. Put this function in ~/.config/fish/functions/chocolat.fish: function chocolatįish has no sudo !! command. I have a Fish function which opens a given folder or file with my favorite editor (Chocolat, see below). Set -g _fish_prompt_normal (set_color normal) Here is the prompt I use for Fish ( ~/.config/fish/functions/fish_prompt.fish): function fish_prompt -description 'Write out the prompt' The prompt is a Fish function itself, which you can fully customize. To do so, you must create a file with the function name in the ~/.config/fish/functions directory. You can easily create your own function with Fish. After the installation you must manually set the shell as your default shell: $ chsh -s /usr/local/bin/fish Fish functions Command line tools Fish shellįish is “a smart and user-friendly command line shell for OS X, Linux, and the rest of the family.” It makes your life in the terminal a lot easier: it comes with autosuggestions, man page completion, nice colours, web-based configuration, and a clean and simple scripting language.ĭownload Fish from their website and run the installer. Things might (and probably will) change for future OS X versions. Note: I wrote this guide while configuring my Mac running El Capitan (OS X 10.11). I’m sure everyone has his own habits regarding tools and configurations, but this guide should get you started! This guide is an overview of how I configure my Mac for development. ![]() But every developer knows that there are a lot of things to install and configure before you can actually start programming. Apple computers are awesome: they are fancy machines which make your daily life easier.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |