In this post, I want to share how to set up true color support in Tmux, Nvim and shell and make them work nicely together. There are tons of discussions in the Internet regarding how to set up true color support to make Tmux, Nvim and terminal work together.
I almost decided to learn emacs, mostly so i could interact with a decent REPL. A little bit of googling dissuaded me from doing so (this christmas) — as there are now a few decent options for SLIME-esque interaction with an REPL in vim.
To execute next steps you need to download and unzip two release tarballs. Here you will found latest version of libevent and tmux ( ncurses is already installed on macOS ). Tmux.conf for Mac OS X. GitHub Gist: instantly share code, notes, and snippets. Follow the below steps to install tmux on your system. Step #1: Install Libevent. First of all install libevent package on your system. Follow the below command to download and install libevent from its official website, # wget https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz.
The setup of choice among this crowd seems to be iterm2 which has been set up to work with tmux (it won’t work if you $ brew install tmux).
In theory, this is simple to setup, as there is now a hosted pair of iterm2 and tmux downloads on the project site. This includes an appropriately patched tmux. If you took the project link above, you will see something like the below: Synology assistant download mac os x.
Paragon NTFS for Mac is fully compatible with Apple's new security policy ensuring fast, hassle-free and safe access to NTFS partitions from macOS 10.12 Sierra. Microsoft NTFS for Mac by Paragon Software provides blazing fast, unlimited read/write access to Microsoft NTFS hard drives, SSDs or thumb drives formatted for Windows computers! A no-brainer upgrade for those installing macOS 10.14 Mojave, Paragon NTFS for Mac remains the best cross-platform utility money can buy, especially now that it plays. Paragon ntfs for mac 15 download.
You want the two links in the middle: tmux for iterm2, and the iterm2 beta.
After you have downloaded the file, you should see them in your downloads as above. Click on the eyeglass at the right to open the containing folder. Inside that folder you’ll see something like the following:
Drop and drag the iTerm icon into your applications folder. Now you have iTerm2 installed!
That was the easy bit. The hard bit (for me) was making sense of the instructions for tmux integration. If you are having trouble, follow these steps with me (note i am assuming you downloaded the zipped iTerm folder into ~/Downloads/).
Open your terminal (hold down Command-space at the same time, and type in ‘terminal’).
At first i could not complete these instructions. At the sh autogen.sh step, i got:
https://perkstree202.weebly.com/blog/download-remote-desktop-for-mac-uf. Remote Desktop is a program or an operating system feature that allows a user to connect to a computer in another location, see that computer's desktop and interact with it as if it were local. There are some items that need to be set up prior to first use.
autogen.sh: line 14: aclocal: command not found
… WTF?
If you get this error, you need to
Next, at the ./configure step, i got the following error:
configure: error: “libevent not found”
If you get this error, you need to:
If you don’t know how to do that, check this prior post — which gives a step by step tutorial.
Recently, the Mail app started having problems with attachments. On many (but not all) messages, attachments show up, but they are displayed as 'Mail Attachment', not as the actual file name. Curiously, sometimes the correct icon shows up. I thought that maybe they needed some time to download, but waiting for hours does not solve it. https://perkstree202.weebly.com/mac-mail-do-not-download-attachments.html.
For whatever reason, i had to totally restart my computer before tmux would play nice with iTerm2. Before re-start, trying to open a tmux child window failed as follows:
Once you have re-started, you should find (when you are in iTerm), that typing tmux to enter a tmux session, and tmux -C to enter a child session work just fine.
Tmux Install
[updated 7 March for release of the new item & tmux releases]
This will be quick write up on the terminal thingy. So assuming you currently have iTerm2 + zsh + Oh-my-zsh + Tmux+ ❤
Picking up from where I left of in my previous post.
First lets get to the fonts, I have been using the patched fonts for Powerline which actually aligns well and pick up the ascii symbols exactly as it should be. Download the PowerLineFonts and select Inconsolata for powerline which in my opinion is a simple, clear and good looking font for the console and if you are into programming through console. Another favorites is the Source code pro. So play around and choose your favorite.
I always choose a dark background for all my work so thats my preference and hence I have choosen base16-atelierforest theme. You can pick several colors from the link if you want a different choice.
Now you can install color scheme for iTerm2 from its preference, but I rather chose to put it on my .zshrc to load it automatically. So see the snippet below and . This was inspired from Nick Nisi’s dotfiles. Download browser onto mac without browser.
# Base16 Shell
BASE16_SCHEME=”atelierforest”
BASE16_SHELL=”$HOME/.config/base16-shell/base16-$BASE16_SCHEME.dark.sh”
[[ -s $BASE16_SHELL ]] && source $BASE16_SHELL
BASE16_SCHEME=”atelierforest”
BASE16_SHELL=”$HOME/.config/base16-shell/base16-$BASE16_SCHEME.dark.sh”
[[ -s $BASE16_SHELL ]] && source $BASE16_SHELL
Here you simply need to change the “path” of your base16 color scheme folder and put this snippet in your .zshrc to automatically load up the desired color scheme.
Now you can simply install cowsay and fortune by the below command
$>brew install cowsay && brew install fortune
And append this to your .zshrc to make the cow say moooo ? everytime you fire up your console or you can explore more as there are plenty of variants like elephants, dragons ,etc.
$>fortune -a computers | cowsay
You can go crazy and even colorize it using
$>fortune | cowsay | lolcat
How To Use Tmux
Tip: Don’t forget to install the lolcat which is a ruby gem using
$>gem install lolcat
Now if all went well, you should have the colors, font and even the cow just like my screenshot posted in the other post with tmux’s multisplits . Having fun?
Tmux Download Windows
Wait till you see my post on tmux, vim and more ? That’s next. See ya!