mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-08 19:32:31 +01:00
*.sh: Move step backwards. (See full commit message.)
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.
This commit is contained in:
parent
b9d6c02186
commit
24097fae2f
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env zsh
|
||||
#!/usr/bin/env bash
|
||||
echo "If you are upgrading, press ctrl + c NOW! You have 15 seconds time to cancel this. rerunning this script will overwrite your backups and it makes uninstall.sh useless."
|
||||
sleep 15;
|
||||
echo "Taking backups..."
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env zsh
|
||||
#!/usr/bin/env bash
|
||||
echo "Restoring default files..."
|
||||
cat ~/.zshrc.default.backup > ~/.zshrc
|
||||
cat ~/.zsh_aliases.default.backup > ~/.zsh_aliases
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env zsh
|
||||
#!/usr/bin/env bash
|
||||
echo "Backing up files..."
|
||||
touch ~/.zshenv
|
||||
cat ~/.zshenv > ~/.zshenv.old.backup
|
||||
|
Loading…
Reference in New Issue
Block a user