DEV Community

Cover image for Two things that make my Terminal experience awesome πŸš€ in Mac/Linux
Shrihari Mohan
Shrihari Mohan

Posted on β€’ Edited on

5 1

Two things that make my Terminal experience awesome πŸš€ in Mac/Linux

Hello people if you're a terminal or command person you would really wanna know these 2 things.

I have been using iterm2 in mac and Terminator in linux for a very long time because it provides me with the helpful feature that can split a single terminal window in to multiple panes.

When working with several terminal windows, this multiple pane view is extremely useful for organising them.

Iterm2 Split pane view

1. Fig

Fig

The next-generation command line.

favicon fig.io

This man autocompleted almost everything from reading package.json for commands ( web development related work) to github and basic command line operations.

Here is some basic web dev and git flows.

Web Dev & Git Flows

This is currently stable in mac , beta in linux and in the development for windows.

2. theFuck

GitHub logo nvbn / thefuck

Magnificent app which corrects your previous console command.

The Fuck Version Build Status Coverage MIT License

The Fuck is a magnificent app, inspired by a @liamosaur tweet that corrects errors in previous console commands.

Is The Fuck too slow? Try the experimental instant mode!

gif with examples

More examples:

➜ apt-get install vim
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

➜ fuck
sudo apt-get install vim [enter/↑/↓/ctrl+c]
[sudo] password for nvbn:
Reading package lists... Done
...
Enter fullscreen mode Exit fullscreen mode
➜ git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use

    git push --set-upstream origin master


➜ fuck
git push --set-upstream origin master [enter/↑/↓/ctrl+c]
Counting objects: 9, done.
...
Enter fullscreen mode Exit fullscreen mode
➜ puthon
No command 'puthon' found, did you mean
 Command 'python' from package 'python-minimal' (main)
 Command 'python' from package 'python3' (main)
…
Enter fullscreen mode Exit fullscreen mode

Fuck helping me in git

Yep you heard that right and The fuck is available for Mac and Linux.

When I make spelling errors in commands, I say β€œfuck,” and they take it personally. It doesn’t have to be that word personsally if its NSFW. We can configure to something like Jesus!

It doesn't have to be that word personsally if its NSFW. We can configure to something like Jesus

For my purposes, it works flawlessly, and I also have an Ubuntu laptop where I frequently use it.

PeaceπŸ•Š


If you are here it means you may have enjoyed reading this blog. Just follow me @shrihari which will motivate to write more, contribute open source.

You can make a drink Buttermilk πŸ₯›. Small support comes a long way!

Subscribe If you want to receive these blogs in your mail from @Medium for free!

Try Our new product for free!

DocsAI - Create AI support agents with your documents in the most affordable price, starts at 0$. Don't need a bot , but need ai help on your docs just upload and start chating !

Using for a company ? Check out our pricing Just contact me for personalized pricing !

docsAi

More Free Articles From me

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (2)

Collapse
 
adxl profile image
Adel Sen β€’

Thanks for sharing :)
Unfortunately, Fig is not available yet for Linux, guess we'll have to wait

Collapse
 
shrihari profile image
Shrihari Mohan β€’

Oh sorry , it's in closed beta . You can sign up at fig you will receive invitation shortly.

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay