diff --git a/aliases b/aliases index 0f757f5..cf88a2d 100644 --- a/aliases +++ b/aliases @@ -362,6 +362,12 @@ dl_youtube_vid() { error "Format: $0 \n" return fi + + if [[ ! $url =~ "v=" ]]; then + error "URL is missing a video id" + return + fi + if [[ $format == "" ]]; then printf "${BOLD}No format given; using best available.${NORMAL}\n" # Download best mp4 video and best m4a audio, then merge. diff --git a/vim/colors/campo-dark-blue.vim b/vim/colors/campo-dark-blue.vim index 6df6031..d9f1db7 100644 --- a/vim/colors/campo-dark-blue.vim +++ b/vim/colors/campo-dark-blue.vim @@ -34,7 +34,6 @@ let s:select = "546e8f" let s:window = "37474f" let s:comment = "5dea82" let s:tab = "03404a" -let s:cursor = "023940" let s:error = "e40e0e" let s:proc = "0eefcb" let s:warn = "dcd53e" @@ -69,11 +68,11 @@ if version >= 700 call X("PMenu", s:text, s:select, "none") " Autocompletion menu call X("PMenuSel", s:text, "027990", "bold") " Selected autocompletion item call X("SignColumn", "", s:bg, "none") - call X("CursorLine", "", s:cursor, "none") " Horizontal line at the cursor. - call X("CursorColumn", "", s:cursor, "none") " Vertical line at the cursor. + call X("CursorLine", "", "022f36", "none") " Horizontal line at the cursor. + call X("CursorColumn", "", "022c33", "none") " Vertical line at the cursor. end if version >= 703 - call X("ColorColumn", "", "034a4a", "none") " Vertical line set by colorcolumn option. + call X("ColorColumn", "", "022c33", "none") " Vertical line set by colorcolumn option. end " Standard Highlighting