mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-02-28 05:47:54 +01:00
It seems that zsh is giving weird error messages "can't open input file" and bash doesn't give them. Because of this I must use bash with these scripts.
8 lines
331 B
Bash
Executable File
8 lines
331 B
Bash
Executable File
#!/usr/bin/env bash
|
|
echo "Restoring default files..."
|
|
cat ~/.zshrc.default.backup > ~/.zshrc
|
|
cat ~/.zsh_aliases.default.backup > ~/.zsh_aliases
|
|
cat ~/.zshenv.default.backup > ~/.zshenv
|
|
cat ~/.zsh_functions.default.backup > ~/.zsh_functions
|
|
echo "Done! Now you should restart zsh or source files again for default files to affect."
|