From 19a4d4d07391ccea8835838afd3c43aa0dde7d8c Mon Sep 17 00:00:00 2001 From: Hannes Date: Sun, 8 Feb 2026 23:34:36 +0100 Subject: [PATCH] fix for yazi --- config.fish | 6 +++++- configs/alias_custom-script.fish | 2 +- configs/alias_useful.fish | 5 +---- configs/arch_config.fish | 7 ++++--- fish_variables | 32 ++------------------------------ 5 files changed, 13 insertions(+), 39 deletions(-) diff --git a/config.fish b/config.fish index 269f55f..1dd0575 100755 --- a/config.fish +++ b/config.fish @@ -53,4 +53,8 @@ if status is-interactive end fastfetch -end \ No newline at end of file +end +# set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME ; set -gx PATH $HOME/.cabal/bin $PATH /home/honney/.ghcup/bin # ghcup-env +# set -Ux PYENV_ROOT $HOME/.pyenv +# fish_add_path $PYENV_ROOT/bin +# pyenv init - | source diff --git a/configs/alias_custom-script.fish b/configs/alias_custom-script.fish index d68fb0d..fd1c74f 100755 --- a/configs/alias_custom-script.fish +++ b/configs/alias_custom-script.fish @@ -1,2 +1,2 @@ # Alias for different custom tools -alias ff="simple_ffprobe_script" +# alias ff="simple_ffprobe_script" diff --git a/configs/alias_useful.fish b/configs/alias_useful.fish index 0ecda60..c848e0b 100755 --- a/configs/alias_useful.fish +++ b/configs/alias_useful.fish @@ -61,9 +61,6 @@ if test -e /usr/bin/ollama alias llama3='ollama run llama3' # Start the LLama Chat end -if test -e /usr/bin/sudo-rs - alias sudo='sudo-rs' -end if test -e /usr/bin/btop alias tasks='btop' @@ -193,7 +190,7 @@ if test -e $HOME/.config/sway/config alias sway_config='nano $HOME/.config/sway/config' # Open the fish Config in Text editor end -if test -e /usr/bin/yazi +if test -e /usr/bin/yazi -o -e /usr/local/bin/yazi function y set tmp (mktemp -t "yazi-cwd.XXXXXX") yazi $argv --cwd-file="$tmp" diff --git a/configs/arch_config.fish b/configs/arch_config.fish index d7bee20..9694718 100755 --- a/configs/arch_config.fish +++ b/configs/arch_config.fish @@ -19,8 +19,6 @@ function updateall # Run updates sudo pacman -Syu - yay -Sua --sudoloop - flatpak update # Get new Discord version (if installed) if pacman -Q discord >/dev/null 2>&1 @@ -35,6 +33,9 @@ function updateall echo "Running extra command..." sh -c "$(curl -sS https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh)" end + + flatpak update + yay -Sua --sudoloop end alias big='expac -H M "%m\t%n" | sort -h | nl' # Sort installed packages according to size in MB (expac must be installed) @@ -54,4 +55,4 @@ set -x QT_QPA_PLATFORMTHEME qt5ct set -x XCURSOR_THEME "DJ-FOX-C" set -x XCURSOR_SIZE 24 -alias py311="$HOME/.local/python-3.11.9/bin/python3.11" \ No newline at end of file +alias py311="$HOME/.local/python-3.11.9/bin/python3.11" diff --git a/fish_variables b/fish_variables index 6a3b24d..8c37428 100755 --- a/fish_variables +++ b/fish_variables @@ -6,33 +6,5 @@ SETUVAR __done_allow_nongraphical:1 SETUVAR __done_min_cmd_duration:5000 SETUVAR __done_notify_sound:1 SETUVAR __done_sway_ignore_visible:0 -SETUVAR __fish_initialized:3800 -SETUVAR fish_color_autosuggestion:brblack -SETUVAR fish_color_cancel:\x2dr -SETUVAR fish_color_command:blue -SETUVAR fish_color_comment:red -SETUVAR fish_color_cwd:green -SETUVAR fish_color_cwd_root:red -SETUVAR fish_color_end:green -SETUVAR fish_color_error:brred -SETUVAR fish_color_escape:brcyan -SETUVAR fish_color_history_current:\x2d\x2dbold -SETUVAR fish_color_host:normal -SETUVAR fish_color_host_remote:yellow -SETUVAR fish_color_normal:normal -SETUVAR fish_color_operator:brcyan -SETUVAR fish_color_param:cyan -SETUVAR fish_color_quote:yellow -SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold -SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack -SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack -SETUVAR fish_color_status:red -SETUVAR fish_color_user:brgreen -SETUVAR fish_color_valid_path:\x2d\x2dunderline -SETUVAR fish_key_bindings:fish_default_key_bindings -SETUVAR fish_pager_color_completion:normal -SETUVAR fish_pager_color_description:yellow\x1e\x2di -SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline -SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan -SETUVAR fish_pager_color_selected_background:\x2dr -SETUVAR fish_user_paths:/home/honney/mount/Storage/Nextcloud/UNI/25\x2d26_TI/BSP/toolchain/arm/bin\x1e/home/honney/\x2ebin\x1e/home/honney/\x2elocal/bin +SETUVAR __fish_initialized:4300 +SETUVAR fish_user_paths:/home/honney/\x2ebin\x1e/home/honney/\x2elocal/bin