Skip to content

ssivakorn/terminalconfig

Repository files navigation

TerminalConfig

My simple terminal configurations for Mac and Linux environment includes:

Tmux Configuration

Basic tmux configuration:
$ cd tmux
$ ./setup.sh

fish ⋊>

fish shell: https://fishshell.com/
$ cd fish
$ ./setup

zsh %_

Zsh: https://www.zsh.org/
$ cd zsh
$ ./setup

bash

Basic bash shell 256 (8-bit) color configure:
  • Mac save .bash_profile into home directory: /home/user/.bash_profile
  • Linux save .bashrc into home directory: /home/user/.bashrc

Terminal colors can be picked from:

Below terminal colors stolen from: http://misc.flogisoft.com/bash/tip_colors_and_formatting

  • Foreground Text Color
[38;5;<ColorNumber>m

alt text

  • Background Text Color
[48;5;<ColorNumber>m

alt text

  • Combine foreground and background
[38;5<ForegroundColorNumber>;48;5<BackgroundColorNumber>m
  • Display all terminal colors
$ ./colors.sh

use this script to show full colors

$ ./fullcolors.py

Terminal Color Theme

Themes of iterm2 terminal color for Mac OS: http://iterm2colorschemes.com/

Fancy Man Page

Give some colors to manual pages on Debian-based OS
$ sudo apt-get install most
$ export PAGER="most"
or
$ export PAGER="/usr/bin/most -s"

About

my simple terminal configurations for Mac / Linux environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published