source /usr/share/cachyos-fish-config/cachyos-config.fish function fish_greeting; end set -g fish_bell_style none fish_config theme choose "Hacker" oh-my-posh init fish --config ~/.config/oh-my-posh/hacker.omp.json | source alias mntnas="sudo mount -a" set -gx QT_QPA_PLATFORMTHEME qt6ct # Set Zed as the default editor set -gx EDITOR /usr/local/bin/zed_sudo_wrapper set -gx VISUAL "zeditor --wait" set -gx SUDO_EDITOR "zeditor --wait" # Start SSH agent if not already running if not set -q SSH_AGENT_PID eval (ssh-agent -c 2>/dev/null | grep -v "^echo") end function update sudo pacman -Syu --noconfirm paru -Syu --noconfirm sudo pacman -Sc --noconfirm paru -Sc --noconfirm end function helium exec /usr/bin/helium-0.6.9.1-x86_64.AppImage end function add_ssh_key set -l ssh_key ~/.ssh/github-ssh echo "Adding SSH key..." ssh-add $ssh_key end