![]() To run an X Window application, I needed to have an X Server installed and running on my Windows 10 machine. That was way overkill for what I wanted to accomplish, but reading through the post I learned/realized that if I had an X Server running on Windows, I could use GUI Linux terminal emulators “natively” on Windows! That opened up a ton of possibilities, and one of my favorite Linux terminals, Terminator, was now a possibility! Installing an X Server When I was about to give up, I saw a post on Reddit about someone who got XFCE working on WSL Bash. What I realized in my search and multiple trials was there just wasn’t a good Windows terminal emulator. Not gonna cut it for me (though I still do use Cmder regularly for when I need to run Windows cmd.exe) Linux Terminal Emulators I could never get mouse mode to work (scrolling or selecting panes), and resizing windows was problematic. Unfortunately, when I started using Tmux it became a problem. The closest I got, and one that I used for a while was Cmder: Love this app for managing remote connections (e.g. Pros: Screenshots online made it look pretty.Same as Wsltty, just harder to configure initially.Pros: Window resizing and mouse worked great.Same as Cmder - not as pretty though by default.Cons: Lacked mouse support in Tmux resizing Windows was funky.Each had their own drawbacks and I eventually gave up. I think I tried every major Windows terminal app I could find. Working mouse support for scrolling and Vim/Tmux.I wanted to utilize WSL (not Cygwin) and at a minimum needed: I really just wanted the equivalent of iTerm2 in Windows. In this post, I’m going to quickly explain how I got it running and configured, and some of the other options I tried. It supports tabs, splits, mouse mode and has a pretty color scheme to boot: But the only thing holding me back was the lack of a nice terminal emulator (admittedly, I’m shallow and like pretty things).Īfter much tinkering, I’ve ended up with what I feel is the most comfortable terminal experience I can get on Windows. With the Windows Subystem for Linux (WSL) it’s now possible to have a “native” Ubuntu command line on my Windows 10 machine to use for my CLI nerdiness. I often feel like I just pay the premium for Mac hardware to have a reliable and easy to configure *Nix operating system.īut lately I’ve really been wanting to get off the Mac ecosystem and start using Windows 10 on my X1 Carbon as my daily machine. And using iTerm2 with oh-my-zsh is the best terminal experience I’ve ever had. Python and Node dev environments just work. With Homebrew, command line tools just work. While there’s nothing particularly special about MacOS that I love (in fact there’s quite a bit I don’t like), it’s honestly been the terminal and the underlying Unix based operating system that keep me glued to it. With this I can run the server and view its status, while at the same time looking at the server structure without having to flip tabs.I’ve been using a Mac as my daily driver for work for the last few years. Notice in the screenshot below, I am viewing one pane with the same project open but displaying server side of the project on the left and the client portion on the right. This feature allows you to split the pane vertically and horizontally. bash_profile)Īnother powerful feature is the ability to split windows. Source ~/.bash_profile (or if in that directory source. Once you do that, either close and reopen the terminal or enter ![]() This is very helpful with more than one tab for obvious reasons.Įxport PROMPT_COMMAND='echo -ne "\033] $\007" ':"$PROMPT_COMMAND" This setting allow you to see the current directory you are in when you have 1 or multiple tabs open in iTerm2. Get current directory to display in the tab After you install it, you can start using it just as you would use the regular Terminal application. I added these configurations to my iTerm2 setup as detailed belowīefore that, if you want to download iTerm2, you can go to the downloads page. If you are interested in a list of features as to what iTerm2 can do check theĪs I mentioned above, my main goal was to deal with multiple windows being open at the same time. In saying terminal emulator, that is essentially saying it is an application that is made to look like the existing application but extends functionality. That is because iTerm2 is a "fork" of the original iTerm I wanted a simpler view to help handle this. I also flip back and forth between between 2 tabs displaying a client and server setup. It is increasingly often that I am working on multiple projects and have many tabs open in my terminal. I've known about a program called iTerm2 for a while but never switched over to start using it. The terminal in OS X is obviously very useful as a developer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |