VimRC: Added new swap words. BashRC: Added docker-distclean command. Improved git config.

Signed-off-by: Hermann Mayer's avatarHermann Mayer <hermann.mayer92@gmail.com>
parent fab7e831
......@@ -26,7 +26,7 @@
autosetuprebase = always
[push]
default = simple
default = current
followTags = true
[alias]
......@@ -51,7 +51,7 @@
b = branch -va
l = log
d = diff
weg = push
weg = push -u
[merge]
tool = meld
......
......@@ -362,7 +362,7 @@ if 1 == VimRCBundlesDevel
\ ['if', 'unless'] ,
\ ['request', 'response'],
\ ['Request', 'Response'],
\ ['class', 'module'],
\ ['class', 'module', 'def'],
\ ['while', 'until'],
\ ['begin', 'end', 'rescue'],
\ ['height', 'width'],
......@@ -371,6 +371,9 @@ if 1 == VimRCBundlesDevel
\ ['absolute', 'relative', 'fixed', 'static'],
\ ['public', 'private'],
\ ['Public', 'Private'],
\ ['context', 'describe'],
\ ['header', 'footer'],
\ ['Header', 'Footer'],
\]
autocmd VimEnter * :IndentGuidesEnable
......
......@@ -170,3 +170,10 @@ function docker-container-ip()
--format "{{range \$net := ${NETWORKS}}}{{\$net.IPAddress}}{{end}}" \
| head -n1
}
function docker-distclean()
{
sudo systemctl stop docker
sudo bash -c 'rm -rf /var/lib/docker/*'
sudo systemctl start docker
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment