macOS terminal setup to boost your productivity
来源:互联网 发布:万里独行知马力 编辑:程序博客网 时间:2024/05/17 07:46
https://alternativeto.net/list/718/macos-terminal-setup-to-boost-your-productivity
macOS terminal setup to boost your productivity
This post is not intended to show my complete terminal setup, but to provide you with the best tools out there, which I’ve found after some research and experience. I love doing stuff in the terminal and it’s a major part of my work day as a web developer. If you do too, then I hope you’ll find some useful things here.
iTerm2
iTerm2 is a replacement for Terminal and the successor to iTerm. It works on Macs with macOS 10.10 or newer. iTerm2 brings the terminal into the modern age with features you never knew you always wanted. It's by far the most powerful and flexible terminal app you can use on a macOS computer.
To make it more beautiful with a nice and polish UI, I use the Nord color palette with Powerlevel9k and the Hack font in size 12pt. Alternatively, you can use this Material Design color palette, the Dracula theme or the famous Solarized color palette and the Source Code Pro font by Adobe.zsh
The Z shell (Zsh) is a Unix shell that can be used as an interactive login shell and as a powerful command interpreter for shell scripting. Zsh is an extended Bourne shell with a large number of improvements, including some features of GNU Bourne Again SHell, ksh, and tcsh.
Alternatively, you can use fish (Friendly Interactive SHell) which is an attempts to be more interactive and user-friendly than former shells. The goal is to give the user a rich set of powerful features.Oh My Zsh
Now that we’ve got zsh up and running, it’s time to customize it! You’re probably ready to fire up Vim or GNU Emacs (or GNU nano, I don't judge) and start editing config files but wait for a second, I’ll try to save you some time. Oh-my-zsh is a set of functions, auto-complete helpers, and other useful stuff. Also, it is a very good framework for further customizations.
Oh-my-zsh comes with a handful of plugins for different apps – Git, Ruby, Ruby on Rails, gem and a lot more. Every plugin has a set of aliases, auto-complete helpers and functions. For example, you can type
gst
for git status, or typerdbm
for rakedb:migrate
,db:test:clone
and so on. Plenty of good stuff for free. Also, it has tons of themes pre-installed. Check out the entire list of themes with screenshots on the GitHub repository. Personally, I use Agnoster.Zsh Syntax Highlighting
This is a plugin for zsh whose purpose is to bring fish shell-like syntax highlighting to the Z shell. It enables highlighting of commands whilst they are typed at a zsh prompt into an interactive terminal. This helps in reviewing commands before running them, particularly in catching syntax errors.
Zsh Autosuggestions
This is a plugin for zsh whose purpose is to bring fish shell-like autosuggestions for the Z shell. It suggests commands as you type, based on command history.
fzf
fzf is a general-purpose command-line fuzzy finder. It's an interactive Unix filter for command-line that can be used with any list; files, command history, processes, hostnames, bookmarks, git commits, etc. It's pretty powerful, but alternatively, you can try fzy that claims to be a "better fuzzy finder".
k
k is a zsh script / plugin to make directory listings more readable, adding a bit of color and some git status information on files and directories.
z - jump around
z is a zsh plugin that tracks your most used directories, based on frecency. After a short learning phase, z will take you to the most frecent directory that matches ALL of the regexes given on the command line, in order. For example,
z foo bar
would match/foo/bar
but not/bar/foo
.Frecency is a portmanteau of 'recent' and 'frequency'. It is a weighted rank that depends on how often and how recently something occurred. As far as I know, Mozilla came up with the term.
Antigen
A plugin manager for zsh, inspired by Oh My Zsh and Vundle.
Prezto
Prezto is the configuration framework for zsh. It enriches the command line interface environment with sane defaults, aliases, functions, auto-completion, and prompt themes. It's an alternative to the famous Oh My Zsh.
Homebrew
Homebrew is a free and open-source software package management system that simplifies the installation of software on macOS operating system. Homebrew installs packages to their own directory and then symlinks their files into
/usr/local
. Homebrew won’t install files outside its prefix, and you can place a Homebrew installation wherever you like.Cakebrew
Cakebrew is the most convenient way to use Homebrew for your daily tasks. It does for Homebrew what Synaptic does to Linux package managers. It adds a user interface that can search for formulae, install, uninstall and upgrade formulae, tap and untap repos, update Homebrew and run the brew cleanup tool. You can also use this website to search and discover new formulas.
MacPorts
The MacPorts Project is an open-source community initiative to design an easy-to-use system for compiling, installing, and upgrading either command-line, X11 or Aqua based open-source software on macOS.
Fink
The Fink project wants to bring the full world of Unix Open Source software to Darwin and macOS. We modify Unix software so that it compiles and runs on macOS ("port" it) and make it available for download as a coherent distribution. Fink uses Debian tools like
dpkg
andapt-get
to provide powerful binary package management. You can choose whether you want to download precompiled binary packages or build everything from source.Mas CLI
Mas CLI is a simple command line interface for the Mac App Store. Designed for scripting and automation.
I don't use all these tools: for example, I only use Homebrew and don't have MacPortsand Fink installed on my computer. I also don't use Prezto since I personally prefer Oh My Zsh. I've tested Cakebrew a while ago and it's a good piece of software but I have a preference for the command line so I don't use it anymore. So, that's all, here are all the tools I use to boost my productivity when I'm in the terminal (very often).
- macOS terminal setup to boost your productivity
- Boost your productivity: Cripple your technology
- 10 Tips to Boost Your Productivity with C# and Visual Studio 2008
- 10 ways to Improve Your Programming Productivity
- How C++11 Helps You Boost Your Developer Productivity
- 10 Specific Ways to Improve Your Productivity With Emacs
- Top 10 ways to dramatically increase your personal productivity
- Top 10 ways to dramatically increase your personal productivity
- 10 Specific Ways to Improve Your Productivity With Emacs
- 转-Code-Switching-to-Improve-Your-Writing-and-Productivity
- How to Customize your Terminal Prompt
- How to Configure Your Terminal Environment: Cygwin/X
- MacOS出现 You need to restart your computer....错误
- Smart Pointers to boost your code
- Smart Pointers to boost your code
- Setup Boost
- mac terminal setup
- Enigma1 THE BIBLE - Environment setup to compile your code
- Oracle中update语句的优化学习
- Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new nod
- BLE Link Layer学习笔记
- IM即时通讯实现原理
- [转]HUSTOJ管理问题
- macOS terminal setup to boost your productivity
- Android逆向之旅---Android中某视频的数据请求加密协议(IDA动态调试SO)第一篇
- SpringAOP基本概念及实现原理(一)
- poj1125
- java程序System.out.println()中文乱码,很奇怪的问题,知道朋友给我留言告诉我!
- 防止过拟合的处理方法
- ubuntu wireshark 源码安装
- Semaphore信号量的使用java
- Spring-mvc开发步骤