fish-config/config.fish

29 lines
706 B
Fish

if status is-interactive
# Commands to run in interactive sessions can go here
set -g LIBVIRT_DEFAULT_URI "qemu:///system"
# abbr -a rcd --set-cursor=% "rclone sync onedrive:%"
# abbr -a rcu --set-cursor=% "rclone sync % onedrive:"
set -gx RESTIC_REPOSITORY "rclone:onedrive:/Restic_Backups"
set -gx RESTIC_PASSWORD_COMMAND "secret-tool lookup app restic"
set -gx EDITOR vim
set -gx VISUAL view
end
function fish_greeting
set_color normal
echo -n "Hello! "
set_color normal
echo -n "Now is "
set_color -o red
date +"%T %d/%m/%Y"
set_color normal
fortune -s | cowsay | lolcat -F 0.3
set_color normal
echo "Have a good time!"
end