Compare commits

..

No commits in common. "23f762ae3bd4cfc5788e35cb2f604e78cc34dd5e" and "2d646001f0db7af8e3f549c4b5d0103a465bdb72" have entirely different histories.

2 changed files with 0 additions and 7 deletions

View file

@ -1,3 +0,0 @@
def jaaj [] { ^jaaj | lolcat }
def rainbowfetch [] { neofetch | lolcat }

4
sync
View file

@ -17,14 +17,10 @@ synced_files = [
('shell/bash/.bash_aliases', '~/.bash_aliases'), ('shell/bash/.bash_aliases', '~/.bash_aliases'),
('shell/bash/.bash_env', '~/.bash_env'), ('shell/bash/.bash_env', '~/.bash_env'),
('shell/bash/.bash_exec', '~/.bash_exec'), ('shell/bash/.bash_exec', '~/.bash_exec'),
('shell/nu/.nu_aliases', '~/.nu_aliases'),
] ]
def save(): def save():
for p in synced_files: for p in synced_files:
folder = "/".join(p[0].split("/")[0:-1])
if not os.path.exists(folder):
os.mkdir(folder)
os.system(f"rsync -r {p[1]} {p[0]}") os.system(f"rsync -r {p[1]} {p[0]}")
def restore(): def restore():