Skip to content

Instantly share code, notes, and snippets.

View gist:ba523e34425c612c2197
# gentoo prompt theme
prompt_gentoo_help () {
cat <<'EOF'
This prompt is color-scheme-able. You can invoke it thus:
prompt gentoo [<promptcolor> [<usercolor> [<rootcolor>]]]
EOF
}
View prompt_gentoo_setup
# gentoo prompt theme
prompt_gentoo_help () {
cat <<'EOF'
This prompt is color-scheme-able. You can invoke it thus:
prompt gentoo [<promptcolor> [<usercolor> [<rootcolor>]]]
EOF
}
@chaos-ad
chaos-ad / Preferences.sublime-settings
Created Jun 13, 2012
Sublime 2 settings (place me to ~/.config/sublime-text-2/Packages/User/Preferences.sublime-settings)
View Preferences.sublime-settings
{
"binary_file_patterns":
[
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",
@chaos-ad
chaos-ad / Default (Linux).sublime-keymap
Created Jun 13, 2012
Sublime 2 keymap (place me to ~/.config/sublime-text-2/Packages/User)
View Default (Linux).sublime-keymap
[
{ "keys": ["f8"], "command": "build" },
{ "keys": ["ctrl+alt+f"], "command": "show_panel", "args": { "panel": "find_in_files" } },
{ "keys": ["ctrl+d"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+tab"], "command": "next_view" },
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" },
{ "keys": ["ctrl+pagedown"], "command": "next_view_in_stack" },
{ "keys": ["ctrl+pageup"], "command": "prev_view_in_stack" },
{ "keys": ["ctrl+r"], "command": "show_panel", "args": {"panel": "replace"} },
{ "keys": ["ctrl+shift+r"], "command": "replace_next" },
@chaos-ad
chaos-ad / install.sh
Last active Jun 28, 2020
Installing erlang in ubuntu
View install.sh
#!/bin/bash
# installing erlang on ubuntu's
VERSION="R15B01"
sudo apt-get install build-essential libncurses5-dev openssl libssl-dev
sudo mkdir -p /opt/erlang/
curl -O https://raw.github.com/spawngrid/kerl/master/kerl && chmod a+x kerl
sudo mv kerl /opt/erlang/
View .zshrc
HISTFILE=~/.histfile
HISTSIZE=500000
SAVEHIST=500000
unsetopt beep
bindkey -e
stty -ixon
zstyle :compinstall filename '~/.zshrc'
autoload -Uz compinit promptinit