Skip to content

Instantly share code, notes, and snippets.

Avatar

Muffy B. Tepperman evokateur

  • "I’m going to ignore that
  • because, frankly, I don't get it"
View GitHub Profile
@evokateur
evokateur / ssh-pf.sh
Last active Sep 11, 2021
lazy port forwarding
View ssh-pf.sh
#!/bin/bash
echo "Hello, footpad!"
me=`basename "$0"`
socket_path=~/"${me}".socket
if [ -z "$1" ] || [ "$1" == "open" ]
then
if [ -f "${socket_path}" ]
@evokateur
evokateur / configure-vim.sh
Last active Sep 11, 2021
script with the things I do to make vim the way I like it
View configure-vim.sh
#!/bin/bash
if [ -z "$1" ]
then
mkdir -p ~/.vim/autoload ~/.vim/bundle && curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
if [ ! -d ~/.vim/bundle/nerdtree ]; then
git clone https://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree
fi