Convert CRLF to LF
find . -name '*.p?' -exec dos2unix {} \;
Get mount point for a directory
df -P /di/rec/to/ry | tail -1 | cut -d' ' -f 1
Convert CRLF to LF
find . -name '*.p?' -exec dos2unix {} \;
Get mount point for a directory
df -P /di/rec/to/ry | tail -1 | cut -d' ' -f 1
" Vundle and friends | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'flazz/vim-colorschemes' | |
call vundle#end() | |
filetype plugin indent on | |
" colorscheme |
{ | |
"default_line_ending": "unix", | |
"draw_white_space": "all", | |
"enable_tab_scrolling": false, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], |
[user] | |
name = Maslennikov, Andrey | |
email = andrew.maslennikov@gmail.com | |
[alias] | |
st = status -sb | |
br = branch | |
co = checkout | |
ci = commit | |
rb = rebase | |
hist = log --graph --pretty=format:\"%C(red)%h%C(reset) %C(cyan)%ad%C(reset) [%C(green)%an%C(reset)] %C(bold)%d%C(reset) %s\" --abbrev-commit --date=short |