

Please note: dont use it with any commands that’s destructive because it would rerun the command. Also open to see if anyone has idea to improve the prompt or how it works. So of you can try it out when you face errors and share how helpful its solution is. I am looking to see if anyone find it helpful since I have been using it lightly and only when I hit errors. So my CLI does fetch the last command run, rerun it and fetch the stderr to be feed into ChatGPT for help. I took some inspiration from this( ) CLI tool I was introduced some years ago, which helps fix common errors in your cli command like misstype or need sudo. I feel making ChatGPT to be the initial debugger to guide whats the error means and what should I look for to fix this error. Many hours passed and I usually gets frustrated. Sometimes the error might have many different reasons and search results shows many solutions. Its hard searching for answer for this kind of errors in SO or google. But there are time I face errors I never seen before. If we are familiar with what we are doing, fixing command line errors is straightforward. When you hit an error on your command line, get immidiate help and fix from ChatGPT. gitconfig.I built this CLI tool to fix command line errors with ChatGPT. If you don’t feel like going through the list, here’s the TLDR of defined commands. It uses a lot of rules to fix your commands, so check it out first to see if your workflow is covered. No, it’s not using machine learning like Grammarly. Note that for git aliases, it is best to define them in your. The F is essentially an auto-correct for your terminal. Create some aliases for frequently used commands.web-search for using search engines via CLI.
THEFUCK TERMINAL PLUGIN INSTALL

Npm: Package manager for node, but good to have.ĭepending on what technologies you work with day-to-day, these may or may not be relevant: Nix: For Unix systems, functional package manager. Homebrew: MacOS, but also available on Linux. There are a wide range of different package managers for different environments (e.g., APT for Ubuntu) and languages (e.g., pip for python), but here are some general package managers that are good to have: Can be used with diff, as in this alias:Įnter fullscreen mode Exit fullscreen modeĬommitizen: Get prompted to fill out any required commit fields at commit time.diff-so-fancy: Makes your diffs human readable instead of machine readable.bat: Better cat - supports syntax highlighting for a large number of programming and markup languages.

This is what my tmux looks like, with a customized status bar: which has my current configuration using this framework. Alternatively, you can also use oh-my-tmux along with a bunch of plugins to extend the capabilities of tmux.See this blog to get started with tmux.With tmux, you can detach terminal sessions so that they continue running in the background, restore sessions, and even reattach them to a different terminal. tmux: Terminal multiplexer that gives you tabs, panes and more natively in the shell.This also includes some useful aliases, keybinds and terminals to use for different platforms. See my guide for setting up a custom prompt and various plugins using oh-my-zsh.I like Cascaydia Cove Nerd Font the best.
THEFUCK TERMINAL PLUGIN DOWNLOAD
