Skip to content

Instantly share code, notes, and snippets.

View Juxtaposedwords's full-sized avatar
💭
I HAVE NO TOOLS BECAUSE I’VE DESTROYED MY TOOLS WITH MY TOOLS

Maloy Juxtaposedwords

💭
I HAVE NO TOOLS BECAUSE I’VE DESTROYED MY TOOLS WITH MY TOOLS
View GitHub Profile
rm -r ~/.plenv
git clone https://github.com/tokuhirom/plenv.git ~/.plenv
mkdir ~/.plenv/plugins
git clone https://github.com/tokuhirom/Perl-Build.git ~/.plenv/plugins/perl-build/
git clone git@github.com:Tacahilo/plenv-update.git $PLENV_ROOT/plugins/plenv-update
#!/bin/bash
set -v
if ( test ! $(which git); ) && [[ "$OSTYPE" =~ ^darwin ]]; then
# make sure we have xcode...homebrew requires
xcode-select --install
# Ask for the administrator password upfront.
sudo -v
# Keep-alive: update existing sudo time stamp if set, otherwise do nothing.
#!/bin/bash
xcode-select --install
# Check for Homebrew,
# Install if we don't have it
if test ! $(which brew); then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# Update homebrew recipes
--- ext/readline/extconf.rb
+++ ext/readline/extconf.rb
@@ -19,6 +19,10 @@ def readline.have_func(func)
return super(func, headers)
end
+def readline.have_type(type)
+ return super(type, headers)
+end
+
Index: ext/readline/readline.c
===================================================================
--- ext/readline/readline.c (revision 45224)
+++ ext/readline/readline.c (revision 45225)
@@ -1974,7 +1974,7 @@
rl_attempted_completion_function = readline_attempted_completion_function;
#if defined(HAVE_RL_PRE_INPUT_HOOK)
- rl_pre_input_hook = (Function *)readline_pre_input_hook;
+ rl_pre_input_hook = (rl_hook_func_t *)readline_pre_input_hook;
### Keybase proof
I hereby claim:
* I am juxtaposedwords on github.
* I am juxtaposedwords (https://keybase.io/juxtaposedwords) on keybase.
* I have a public key whose fingerprint is 75C3 2420 323A 4509 71BB 7C76 11BD E0B4 EF57 A6DB
To claim this, I am signing this object: