46 lines
1.2 KiB
Fish
46 lines
1.2 KiB
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
|
|
fish_vi_key_bindings
|
|
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 -o cyan
|
|
echo "Have a good time!"
|
|
end
|
|
|
|
source "$HOME/.cargo/env.fish"
|
|
|
|
# >>> conda initialize >>>
|
|
# !! Contents within this block are managed by 'conda init' !!
|
|
if test -f /home/wn/miniforge3/bin/conda
|
|
eval /home/wn/miniforge3/bin/conda "shell.fish" "hook" $argv | source
|
|
else
|
|
if test -f "/home/wn/miniforge3/etc/fish/conf.d/conda.fish"
|
|
. "/home/wn/miniforge3/etc/fish/conf.d/conda.fish"
|
|
else
|
|
set -x PATH "/home/wn/miniforge3/bin" $PATH
|
|
end
|
|
end
|
|
# <<< conda initialize <<<
|
|
|