From 671c27556d010d58c02c692476137a9cb4b771c0 Mon Sep 17 00:00:00 2001 From: lovvvve Date: Tue, 16 Jun 2015 09:56:04 +0800 Subject: [PATCH] update .gitinore --- .gitignore | 28 ++++++++++++++++++++++++++++ lib/misc.zsh | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8fa66f02f..a19d327e0 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,31 @@ custom *.swp !custom/example.zshcache cache/ +# Created by https://www.gitignore.io + +### OSX ### +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + diff --git a/lib/misc.zsh b/lib/misc.zsh index e90836475..6d1a64e8d 100644 --- a/lib/misc.zsh +++ b/lib/misc.zsh @@ -1,6 +1,6 @@ ## Load smart urls if available for d in $fpath; do - if [[ -e "$d/url-quote-magic"]]; then + if [[ -e "$d/url-quote-magic" ]]; then autoload -U url-quote-magic zle -N self-insert url-quote-magic fi