diff --git a/.aliases b/.aliases index 0c49ba6..7700f29 100644 --- a/.aliases +++ b/.aliases @@ -124,6 +124,20 @@ open_explorer() { fi } +open_filepilot() { + local target="$1" + if [[ $target == "" ]]; then + target="$PWD" + fi + local path_expanded=$(expand_path "$target") + if [[ -d $path_expanded ]]; then + local path=$(unix_to_windows_path "$path_expanded") + start fpilot.exe "$path" + else + echo "Folder no longer exists" + fi +} + remove_extra_spaces() { # Replace consecutive spaces with a single space. # @@ -264,7 +278,6 @@ dos2unix_all() { alias d2u='dos2unix_all' alias e='open_explorer' -alias exp='echo "Use e instead."' alias f='fg' alias hist='history' alias histroy='history' @@ -515,9 +528,6 @@ download_youtube_playlist() { return fi - printf "${BOLD}${RED}USING TEMP FIX FOR YOUTUBE FORMAT ISSUES BY SETTING THE CLIENT TO tv_simply. SEE https://github.com/yt-dlp/yt-dlp/issues/13930\n\n${NORMAL}" - opts+=" --extractor-args youtube:player-client=default,tv_simply" - printf "${BOLD}Downloading Youtube playlist\n\n${NORMAL}" if [[ $format == "" ]]; then @@ -603,9 +613,6 @@ function download_youtube_audio() { return fi - printf "${BOLD}${RED}USING TEMP FIX FOR YOUTUBE FORMAT ISSUES BY SETTING THE CLIENT TO tv_simply. SEE https://github.com/yt-dlp/yt-dlp/issues/13930\n\n${NORMAL}" - opts+=" --extractor-args youtube:player-client=default,tv_simply" - printf "${BOLD}Downloading Youtube audio\n\n${NORMAL}" if [[ $make_folder == "1" ]]; then @@ -690,7 +697,7 @@ download_twitch_chat() { # To extract a portion of a video, you have to first download the entire file and then use the # `trim-video` or `compress-video' with a time range. # -# To download the portion of a stream: +# To download a portion of a stream: # # yt-dlp -f "b" --external-downloader ffmpeg --external-downloader-args "ffmpeg_i:-ss 5:25:38.00 -to 5:56:50.00" URL # @@ -1402,8 +1409,11 @@ alias gf='git fetch' alias gfa='git fetch --all' alias gfd='git fetch --prune' # Removes remote branches that don't have a counterpart branch on the remote. alias gfix='git commit --amend -C HEAD' +alias gfx='git commit --amend -C HEAD' alias gfixs='git commit -S -a --amend -C HEAD' # signed +alias gfxs='git commit -S -a --amend -C HEAD' # signed alias gfixno='git_fix_nocheckin' +alias gfxno='git_fix_nocheckin' alias gfo='git fetch origin' alias gfu='git fetch up' alias gfm='git fetch origin master'