Skip to content

Instantly share code, notes, and snippets.

View aroig's full-sized avatar

Abdó Roig-Maranges aroig

View GitHub Profile
@aroig
aroig / gist:4964893
Created February 16, 2013 00:55
Patch against ranger's vcs branch changing setting vcs_backends to vcs_backend_git, etc...
From 49ceba2e024f95bb6e3228adae3b788bd2262d23 Mon Sep 17 00:00:00 2001
From: Abdo Roig-Maranges <abdo.roig@gmail.com>
Date: Sat, 16 Feb 2013 01:46:34 +0100
Subject: [PATCH] replace vcs_backends setting by vcs_backend_git, etc.
The variables vcs_backend_git, vcs_backend_hg and vcs_backend_bzr have three
possible values: disabled, local (only local info) and enabled (local and remote
info).
---
ranger/config/rc.conf | 12 ++++++----
@aroig
aroig / xterm256-colors.sh
Created December 1, 2012 20:57
test xterm-256 terminal colors
#!/bin/bash
echo "term colors:"
for i in {0..7}; do
echo -n -e "\e[4${i}m \e[0m"
done
echo ""
for i in {0..7}; do
echo -n -e "\e[10${i}m \e[0m"
done