Skip to content

Commit

Permalink
Merge pull request #8: Avoid shelling out to uname on Windows
Browse files Browse the repository at this point in the history
See pull request #8 on GitHub:
  #8
  • Loading branch information
xolox committed Jul 20, 2013
2 parents 6fe6e26 + fe6a548 commit 8551f2b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -38,7 +38,7 @@ from the source code of the miscellaneous scripts using the Python module
<!-- Start of generated documentation -->

The documentation of the 80 functions below was extracted from
15 Vim scripts on June 26, 2013 at 10:55.
15 Vim scripts on July 20, 2013 at 10:41.

### Handling of special buffers

Expand Down
4 changes: 2 additions & 2 deletions autoload/xolox/misc.vim
@@ -1,7 +1,7 @@
" The version of my miscellaneous scripts.
"
" Author: Peter Odding <peter@peterodding.com>
" Last Change: June 26, 2013
" Last Change: July 20, 2013
" URL: http://peterodding.com/code/vim/misc/

let g:xolox#misc#version = '1.8.4'
let g:xolox#misc#version = '1.8.5'
2 changes: 1 addition & 1 deletion autoload/xolox/misc/os.vim
Expand Up @@ -16,7 +16,7 @@ function! xolox#misc#os#is_mac() " {{{1
if has('mac') || has('macunix') || has('gui_mac')
" If Vim's feature list indicates we are on Mac OS X, we have our answer :-).
let s:is_mac = 1
else
elseif !xolox#misc#os#is_win()
" Otherwise we check the output of `uname' to avoid false negatives.
let result = xolox#misc#os#exec({'command': 'uname', 'check': 0})
if result['exit_code'] == 0 && get(result['stdout'], 0, '') == 'Darwin'
Expand Down
2 changes: 1 addition & 1 deletion doc/misc.txt
Expand Up @@ -151,7 +151,7 @@ from the source code of the miscellaneous scripts using the Python module
'vimdoctool.py' included in vim-tools [5].

The documentation of the 80 functions below was extracted from 15 Vim scripts
on June 26, 2013 at 10:55.
on July 20, 2013 at 10:41.

-------------------------------------------------------------------------------
*misc-handling-of-special-buffers*
Expand Down

0 comments on commit 8551f2b

Please sign in to comment.