From d7923606ef66adea288a14eb788baf444f3c2ad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Sun, 15 Mar 2015 23:29:01 +0100 Subject: [PATCH] Securing gitconfig, adding nm fix --- emacs.d/init.el | 2 ++ gitconfig | 8 ++++++-- not_dots/network-manager-resume | 11 +++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100755 not_dots/network-manager-resume diff --git a/emacs.d/init.el b/emacs.d/init.el index 4048f29..522859c 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -306,6 +306,8 @@ ;; (setq x-select-enable-clipboard nil) ;; (setq x-select-enable-primary t) +(setq flycheck-temp-prefix ".flycheck") + ;;; .emacs ends here (custom-set-variables ;; custom-set-variables was added by Custom. diff --git a/gitconfig b/gitconfig index fa2df75..de88d11 100644 --- a/gitconfig +++ b/gitconfig @@ -5,8 +5,9 @@ tool = vimdiff [alias] d = difftool -[github] - user = balkian +[include] + path = ~/.gitconfig_secret + [color] ui = true @@ -16,3 +17,6 @@ lg2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan lg = !"git lg1" [core] excludesfile = /home/jfernando/.gitignore_global + +[include] + path = ~/.gitconfig_secret \ No newline at end of file diff --git a/not_dots/network-manager-resume b/not_dots/network-manager-resume new file mode 100755 index 0000000..67a656d --- /dev/null +++ b/not_dots/network-manager-resume @@ -0,0 +1,11 @@ +#!/bin/sh + +# This script gets NetworkManager out of suspend. +case $1 in + suspend|suspend_hybrid|hibernate) + # No need to do anything here. + ;; + resume|thaw) + nmcli nm sleep false + ;; + esac