Skip to content

Instantly share code, notes, and snippets.

@adrienthebo
Last active November 27, 2019 15:04
Show Gist options
  • Save adrienthebo/569ab9fc36de600789bc1a2aad66559f to your computer and use it in GitHub Desktop.
Save adrienthebo/569ab9fc36de600789bc1a2aad66559f to your computer and use it in GitHub Desktop.
Fancy text shell

Terminal emulator:

  • iterm2: pretty standard, easy to use, looks nicer
  • alacritty: more complex to install and build but I liked running it and it pairs well with tmux.

Fonts

There are customized fonts that add special characters, it's not strictly useful but it's very good looking. Powerline characters are some of those extra characters that add the diamonds to your terminal. I like "Source Code Pro Powerline" and "Ubuntu Mono Powerline""

https://github.com/ryanoasis/nerd-fonts

Note - this repo is massive. Clone it with something like git clone --depth=1 https://github.com/ryanoasis/nerd-fonts

tmux

Oh my tmux is a bunch of extensions to make tmux more usable.

Quick install:

cd ~
git clone https://github.com/gpakosz/.tmux 
ln -s -f .tmux/.tmux.conf
cp .tmux/.tmux.conf.local .

My customizations: https://github.com/adrienthebo/homesick-shell/blob/master/home/.tmux.conf.local

zsh

Some of these might ship with the default .zshrc. Check that file before adding things.

basic prompt:

autoload -Uz promptinit
promptinit
prompt -l # list prompts
prompt fire

basic completions:

autoload -Uz compinit
compinit

Oh my zsh

Oh my zsh is a huge plugin framework for zsh. It comes with a lot of neat stuff, but it can set up some unusual defaults. Use it thoughfully.

https://ohmyz.sh/

My customizations: https://github.com/adrienthebo/homesick-zsh/blob/master/home/.zshrc.d/oh-my-zsh.zsh#L1

Note - this loads a prompt plugin, powerlevel9k. I do not recommend installing it from the start, as it's even more complexity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment