feat: add alexandria quick access script
Some checks are pending
Check flake / check (push) Waiting to run

This commit is contained in:
Youwen Wu 2024-12-29 03:25:05 -08:00
parent a684af72a0
commit 96fcc6aec4
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -78,5 +78,22 @@
vim
end
'';
alexa = ''
set vault_dir $HOME/Documents/alexandria/content
if test -d $vault_dir
cd $vault_dir
git pull
vim
else
echo "Vault is not yet cloned. Cloning repository now."
mkdir -p $HOME/Documents
cd $HOME/Documents
git clone git@code.youwen.dev:youwen5/alexandria.git
cd $vault_dir
vim
end
'';
};
}