From 5d339d4aba05f68ba58e726a3acf90515c46db6d Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Mon, 28 Aug 2017 13:51:54 +0300
Subject: [PATCH] - Added a clean-swp shell alias to delete Vim's swp files
 after a forced kill or restart.

---
 .bashrc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.bashrc b/.bashrc
index 74a0597..f26e759 100644
--- a/.bashrc
+++ b/.bashrc
@@ -103,6 +103,7 @@ alias urldecode='perl -MURI::Escape -ne "chomp;print uri_unescape(\$_), \"\n\""'
 alias transmission-remote='ssh -fNo ExitOnForwardFailure=yes xbmc.shore.co.il && transmission-remote'
 alias kpcli='kpcli --kdb ~/Documents/Database.kdbx'
 alias gen-mac="hexdump -n5 -e '\"02\" 5/1 \":%02X\" \"\\n\"' /dev/urandom"
+alias clean-swp="find \$HOME/ -name '*.swp' -delete"
 
 deduce_aws_region () {
     AWS_DEFAULT_REGION="$(python << EOF
-- 
GitLab