Compare commits
2 commits
2d646001f0
...
23f762ae3b
Author | SHA1 | Date | |
---|---|---|---|
23f762ae3b | |||
9442a160c7 |
2 changed files with 7 additions and 0 deletions
3
shell/nu/.nu_aliases
Normal file
3
shell/nu/.nu_aliases
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
def jaaj [] { ^jaaj | lolcat }
|
||||||
|
|
||||||
|
def rainbowfetch [] { neofetch | lolcat }
|
4
sync
4
sync
|
@ -17,10 +17,14 @@ 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():
|
||||||
|
|
Loading…
Reference in a new issue