From f6cce38b051abee926e39a39259b752389ea7726 Mon Sep 17 00:00:00 2001 From: wn Date: Mon, 8 Jan 2024 20:01:33 +0800 Subject: [PATCH] Add some env variables related to edit. --- config.fish | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config.fish b/config.fish index 563216c..8243dfa 100644 --- a/config.fish +++ b/config.fish @@ -1,8 +1,12 @@ 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:" + # 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