Value | Color |
---|---|
\e[0;30m | Black |
\e[0;31m | Red |
\e[0;32m | Green |
\e[0;33m | Yellow |
\e[0;34m | Blue |
\e[0;35m | Purple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* my overrides */ | |
// https://github.com/arkenfox/user.js/ | |
/* override recipe: enable session restore ***/ | |
/* 0102: set startup page [SETUP-CHROME] | |
* 0=blank, 1=home, 2=last visited page, 3=resume previous session | |
* [NOTE] Session Restore is cleared with history (2811, 2812), and not used in Private Browsing mode | |
* [SETTING] General>Startup>Restore previous session ***/ | |
user_pref("browser.startup.page", 3); | |
/* 1003: disable storing extra session data [SETUP-CHROME] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# useful general .bash_profile tweaks for color loving VI fans | |
export TERM=xterm-color | |
export GREP_OPTIONS='--color=auto' GREP_COLOR='1;36' | |
export CLICOLOR=1 | |
alias ls='ls -G' | |
export LS_COLORS='di=1:fi=0:ln=31:pi=5:so=5:bd=5:cd=5:or=31:mi=0:ex=35:*.rb=90' | |
export COLOR_NC='\e[0m' # No Color | |
export COLOR_WHITE='\e[1;37m' | |
export COLOR_BLACK='\e[0;30m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# (1) copy to: ~/ssh-host-color | |
# (2) set: alias ssh=~/ssh-host-color | |
# iTerm2 window color commands | |
term-bgcolor(){ | |
local R=$1 | |
local G=$2 | |
local B=$3 |