From 7ac382ffa4bd3f273498f83fcb3bba1bd4031b08 Mon Sep 17 00:00:00 2001
From: Chris Coley <chris@codingallnight.com>
Date: Wed, 19 Sep 2018 15:11:13 -0700
Subject: [PATCH] Add an alias to find VIM swap files

---
 bash_aliases | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bash_aliases b/bash_aliases
index 1d250ae..a1c3b1b 100644
--- a/bash_aliases
+++ b/bash_aliases
@@ -54,6 +54,9 @@ alias dume='du -h --exclude="*.git*" | sort -h'
 # Make free output more human friendly
 alias free='free -ht'
 
+# Find VIM swap files. Pass the -delete flag to delete them
+alias swp='find . -type f -name ".*.sw?"'
+
 ###################
 #    Functions    #
 ###################
@@ -100,3 +103,4 @@ function color {
     done
     echo -e "\e[0m";
 }
+alias wpcli='docker-compose run --rm wp-cli '
-- 
GitLab