Skip to content

Commit 8551f2b

Browse files
committed
Merge pull request #8: Avoid shelling out to uname on Windows
See pull request #8 on GitHub: #8
2 parents 6fe6e26 + fe6a548 commit 8551f2b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ from the source code of the miscellaneous scripts using the Python module
3838
<!-- Start of generated documentation -->
3939

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

4343
### Handling of special buffers
4444

autoload/xolox/misc.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" The version of my miscellaneous scripts.
22
"
33
" Author: Peter Odding <[email protected]>
4-
" Last Change: June 26, 2013
4+
" Last Change: July 20, 2013
55
" URL: http://peterodding.com/code/vim/misc/
66

7-
let g:xolox#misc#version = '1.8.4'
7+
let g:xolox#misc#version = '1.8.5'

autoload/xolox/misc/os.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function! xolox#misc#os#is_mac() " {{{1
1616
if has('mac') || has('macunix') || has('gui_mac')
1717
" If Vim's feature list indicates we are on Mac OS X, we have our answer :-).
1818
let s:is_mac = 1
19-
else
19+
elseif !xolox#misc#os#is_win()
2020
" Otherwise we check the output of `uname' to avoid false negatives.
2121
let result = xolox#misc#os#exec({'command': 'uname', 'check': 0})
2222
if result['exit_code'] == 0 && get(result['stdout'], 0, '') == 'Darwin'

doc/misc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ from the source code of the miscellaneous scripts using the Python module
151151
'vimdoctool.py' included in vim-tools [5].
152152

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

156156
-------------------------------------------------------------------------------
157157
*misc-handling-of-special-buffers*

0 commit comments

Comments
 (0)