I love Vim, despite its steep learning curve. It is used by many developers to write code directly in the terminal. To Install Fig, execute the following command in the terminal: 1 I like it because it makes me feel my terminal more like and IDE. To install TLDR, execute the following command in the terminal: 1įig adds IDE-style autocomplete to the terminal. TLDR (right) results when displaying the documentation of the grep command. Thus, the TLDR pages are a community effort to simplify the beloved man pages with practical examples. It is helpful when you are trying to find out how to use a command, but you don’t want to read its long and boring man page. TLDR is a handy tool for generating a short summary of a Unix command. vscode: Simplifies the interaction between the command line and VS Code or VSCodium editor.Provides autocompletion for all known commands. sdk: Plugin for SDKMAN, a tool for managing parallel versions of multiple Software Development Kits on most Unix based systems.jenv: Initializes jenv and provides the jenv_prompt_info function to add Java version information to prompts.mvn: Provides many useful aliases as well as completion for the Apache Maven command ( mvn).aliases: Lists the shortcuts that are currently available based on the plugins you have enabled.zsh-autosuggestions: Suggests commands as you type based on history and completions. zsh-syntax-highlighting: Provides syntax highlighting for the shell zsh.In particular: the branch name, difference with remote branch, number of files staged or changed, etc. git-prompt: Displays information about the current git repository.export ZSH = "/Users/cesarsv/.oh-my-zsh" # Which plugins would you like to load? # Standard plugins can be found in $ZSH/plugins/ # Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. To use a plugin, add the name of the plugin in the ~/.zshrc file. Oh My Zsh has a vast list of awesome plugins. I use git-prompt via the global variable $GIT_PROMPT to show the status of the current Git repository when applicable. You can show the version of other programming languages as well, here is the list of available options.Īlso note that I customize the colors via $FG, see an explanation here. Note that I add jenv_prompt_info in line #31 to show the Java version that I’m currently using directly in the prompt. The gnzh theme is located by default in ~/.oh-my-zsh/themes/gnzh.zsh-theme. export ZSH = "/Users/cesarsv/.oh-my-zsh" # Set name of the theme to load - if set to "random", it will # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See ` ZSH_THEME = "gnzh" ` source $ZSH/oh-my-zsh.sh In order to enable a theme, set ZSH_THEME to the name of the theme in your ~/.zshrc, before sourcing Oh My Zsh. The configuration file is located at ~/.zshrc. To install Oh My Zsh, execute the following command in the terminal: 1 It offers a tons of themes, functions, helpers, plugins, and other handy features. This is an open-source and popular zsh configuration manager. I use Oh My Zsh, as a shell replacement for macOS. The second step is getting a better shell.
0 Comments
Leave a Reply. |