blob: 01688a26a32241c3421191609cb01a01e4b8cd48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
function backup
if not set -q HOSTNAME
set HOSTNAME (hostnamectl hostname)
end
cd ~/Documents/Backups/$HOSTNAME
cp ~/.local/share/fish/fish_history .
cp ~/.mozilla/firefox/*.default-release/places.sqlite .
cp ~/.thunderbird/*.default-release/Mail/Feeds/feeds.json .
cd -
end
|