Add some env variables related to edit.

This commit is contained in:
wn 2024-01-08 20:01:33 +08:00
parent 9b7b27c72d
commit f6cce38b05
No known key found for this signature in database
GPG Key ID: D5CFBCA7B9AD736B

View File

@ -1,8 +1,12 @@
if status is-interactive if status is-interactive
# Commands to run in interactive sessions can go here # Commands to run in interactive sessions can go here
set -g LIBVIRT_DEFAULT_URI "qemu:///system" set -g LIBVIRT_DEFAULT_URI "qemu:///system"
# abbr -a rcd --set-cursor=% "rclone sync onedrive:%" # abbr -a rcd --set-cursor=% "rclone sync onedrive:%"
# abbr -a rcu --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 end
function fish_greeting function fish_greeting