From dfa5ecaf4765bf5ba21f74e8de24a1654e434fb5 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Sat, 5 Nov 2022 00:48:21 -0400 Subject: [PATCH] Small tweaks --- aliases | 3 +++ bash/bashrc | 2 +- vimrc | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/aliases b/aliases index 34c78f3..62f6213 100644 --- a/aliases +++ b/aliases @@ -619,6 +619,9 @@ dl_twitch_vid() { } # 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() { local format="$1" local shortname="$2" diff --git a/bash/bashrc b/bash/bashrc index d344bed..b0a7792 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -30,7 +30,7 @@ parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' 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. if [ -f ~/.git-completion.bash ]; then diff --git a/vimrc b/vimrc index eec048b..8bfb8e1 100644 --- a/vimrc +++ b/vimrc @@ -70,7 +70,7 @@ endfunction " -------------------------------------------------------------------------------------------------- " @note unsupported in lvimrc -let g:campo_max_line_length = 100 " Display a vertical bar at x=. +let g:campo_max_line_length = 120 " Display a vertical bar at x=. " 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