<commit_before># update dependencies
function up
	switch (uname)
	case Linux
		if test /etc/redhat-release
			sudo dnf clean all
			sudo dnf upgrade --refresh
			sudo yum update
		else
			sudo apt update
			sudo apt full-upgrade
		end
	case '*'
		# show mac updates
		softwareupdate -l

		# upgrade mac apps
		mas upgrade

		# brew
		brew update --rebase
		brew upgrade
		brew cleanup -s
		brew prune

		# https://github.com/rgcr/m-cli
		m --update
	end

	# https://github.com/fish-shell/fish-shell/blob/master/doc_src/fish_update_completions.txt
	fish_update_completions

	# update fishmarks (https://github.com/techwizrd/fishmarks)
	cd ~/.fishmarks
	git fetch --all
	git reset --hard origin/master

	# update fisher
	fisher update

	# update Rust toolchains and rustup
	rustup update

	# update npm and global npm packages
	npm i npm -g
	npm update -g
end<commit_msg>:bug: Fix deprecated fisher command in up.fish<commit_after># update dependencies
function up
    switch (uname)
        case Linux
            if test /etc/redhat-release
                sudo dnf clean all
                sudo dnf upgrade --refresh
                sudo yum update
            else
                sudo apt update
                sudo apt full-upgrade
            end
        case '*'
            # show mac updates
            softwareupdate -l

            # upgrade mac apps
            mas upgrade

            # brew
            brew update --rebase
            brew upgrade
            brew cleanup -s
            brew prune

            # https://github.com/rgcr/m-cli
            m --update
    end

    # https://github.com/fish-shell/fish-shell/blob/master/doc_src/fish_update_completions.txt
    fish_update_completions

    # update fishmarks (https://github.com/techwizrd/fishmarks)
    cd ~/.fishmarks
    git fetch --all
    git reset --hard origin/master

    # update fisher
    fisher self-update

    # update Rust toolchains and rustup
    rustup update

    # update npm and global npm packages
    npm i npm -g
    npm update -g
end
{'fraction_non_alphanumeric': 0.06862745098039216, 'fraction_numerical': 0.0, 'mean_word_length': 1.886845827439887, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3476977', 'n_tokens_mistral': 658, 'n_tokens_neox': 579, 'n_words': 197}