Small tweaks

This commit is contained in:
Michael Campagnaro 2022-11-05 00:48:21 -04:00
parent 75019980ea
commit dfa5ecaf47
3 changed files with 5 additions and 2 deletions

View File

@ -619,6 +619,9 @@ dl_twitch_vid() {
} }
# Download Vimeo videos. # Download Vimeo videos.
# Can download an embedded vid. You might need to save the site cookies if the vid is behind a paywall.
# e.g. yt-dlp.exe -F --cookies cookies.txt --referer https://gillyandkeeves.tv https://player.vimeo.com/video/756941969
# The vid ID can be found by looking at the embed's iframe src attribute.
dl_vimeo_vid() { dl_vimeo_vid() {
local format="$1" local format="$1"
local shortname="$2" local shortname="$2"

View File

@ -30,7 +30,7 @@ parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
fi fi
} }
export PS1='\[\033[0;32m\]\[\033[0m\033[0;32m\]\u\[\033[0;36m\] @ \w\[\033[33m\]\n$(parse_git_branch)\[\033[0;32m\]\[\033[0m\033[0;32m\] \$\[\033[0m\033[0;32m\]\[\033[0m\] ' export PS1='\[\033[0;32m\]\[\033[0m\033[0;32m\]\u\[\033[0;36m\] -> \w\[\033[33m\]\n$(parse_git_branch)\[\033[0;32m\]\[\033[0m\033[0;32m\] \$\[\033[0m\033[0;32m\]\[\033[0m\] '
# Git autocompletion. # Git autocompletion.
if [ -f ~/.git-completion.bash ]; then if [ -f ~/.git-completion.bash ]; then

2
vimrc
View File

@ -70,7 +70,7 @@ endfunction
" -------------------------------------------------------------------------------------------------- " --------------------------------------------------------------------------------------------------
" @note unsupported in lvimrc " @note unsupported in lvimrc
let g:campo_max_line_length = 100 " Display a vertical bar at x=<n>. let g:campo_max_line_length = 120 " Display a vertical bar at x=<n>.
" Set the row height of the quickfix pane, which is used to display results " Set the row height of the quickfix pane, which is used to display results
" from various plugins (like ctrl-p, ripgrep, compilation errors, etc), in rows " from various plugins (like ctrl-p, ripgrep, compilation errors, etc), in rows