Context: I accidentally pressed the C key on my .config directory and was presented with a list of directories to copy it to, then I pressed escape to quit the fzf menu without choosing anything - instead of doing nothing the script copied all of the contents inside my .config directory into my home directory. After dealing with that mess I decided to make this PR which does the following:
- Allow users to escape out of the fzf menu without unexpected copies
- Asks the user for confirmation before copying/moving files
- Some improvements in the UI
useful if want to use shortcuts w/ different progs instead of
their default behavior (cd / $EDITOR), e.g.:
```sh
cd ~/Downloads
mv foo.mp3 $music
```
Co-authored-by: Luke Smith <luke@lukesmith.xyz>
* weath: Add option to get forecast from a different location
* Remove retry and make max time lower because it is interactive
* Give weath 'cp' option to copy forecast as plain text for sharing
* Make weath a separate script
* Corrects the syntax error in "application/octet-stream is for arbitrary binary files"
#1321 had a syntax error, this commit correct it.
* Update lfrc
support for ts
added `^` and `$` to the pattern used in `grep -v`
in order to avoid matching displays whose name
contains some other display name. e.g ("DPI", "eDPI")
1. Copies the selected filename instead of the filepath, and pipes it to clipboard.
2. Copies the selected filename and if it matches the yt-dlp downloaded video format [1234567891011], gets the full youtube URL and pipes it to clipboard.
3. Copies the selected filename and if it matches the yt-dlp downloaded video format [1234567891011], gets the full piped.video URL and pipes it to the clipboard. (piped.video is a mirror of youtube, even includes comments)
4. Opens current folder in full picture mode. Think windows large icons mode. Good for browsing quickly through image albums.
5. Ctrl+l to unselect all selections so the behaviour matches the terminal.
* Fix pdf and plain text previws in lf
Pdf previws don't appear because are generated with wrong filename.
Plain text previws with `bat` don't respect terminal theme and have
annoying border.
* Revert pdf cache filename to work properly
The s/\\&/&/g operation only effect is to add "amp;" after any ampersand in the artist or song name. "&" displays just fine anyways, so there's no reason to include an operation to replace it.