mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-22 18:14:47 +01:00
802c0da6af
zshenv is sourced by every zsh (not only interactive sessions, scripts too). Content of this file is what I probably want scripts to use too. Scripts probably don't things like aliases.
8 lines
330 B
Bash
Executable File
8 lines
330 B
Bash
Executable File
#!/usr/bin/env zsh
|
|
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."
|