From 4ead9be4468d8d58c027bf6e6616e3b4d6e727eb Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 22 Aug 2019 18:30:24 +0200 Subject: Complete re-structuring so it's easier to install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- irbrc | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 irbrc (limited to 'irbrc') diff --git a/irbrc b/irbrc deleted file mode 100644 index 176ed74..0000000 --- a/irbrc +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/env ruby -# -# Author: Miquel Sabaté -# http://github.com/mssola/dotfiles - - -require 'irb/completion' -require 'irb/ext/save-history' -require 'rubygems' -require 'pp' -require 'wirble' - - -# Colorize! -Wirble.init -Wirble.colorize - -# Simple prompt -IRB.conf[:PROMPT_MODE] = :SIMPLE - -# History -IRB.conf[:SAVE_HISTORY] = 100 -IRB.conf[:HISTORY_FILE] = File.expand_path('~/.irb_history') - -# Auto-indentation -IRB.conf[:AUTO_INDENT] = true - -# Use readline -IRB.conf[:USE_READLINE] = true - -# List object methods -def local_methods(obj = self) - (obj.methods - obj.class.superclass.instance_methods).sort -end - -# Reload this .irbrc -def reload! - load __FILE__ -end - -# Beautify ls -def ls - %x{ls}.split("\n") -end - -alias p pp -- cgit v1.2.3