mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
install my_changes:
This commit is contained in:
parent
d4b358d7a9
commit
b4fb3ddc19
1 changed files with 2 additions and 2 deletions
|
|
@ -137,8 +137,6 @@ setup_zshrc() {
|
|||
echo "${YELLOW}Found ~/.zshrc.${RESET} ${GREEN}Keeping...${RESET}"
|
||||
return
|
||||
fi
|
||||
mv ../dotfiles/.zshrc ~/.zshrc
|
||||
return
|
||||
if [ -e "$OLD_ZSHRC" ]; then
|
||||
OLD_OLD_ZSHRC="${OLD_ZSHRC}-$(date +%Y-%m-%d_%H-%M-%S)"
|
||||
if [ -e "$OLD_OLD_ZSHRC" ]; then
|
||||
|
|
@ -155,6 +153,8 @@ setup_zshrc() {
|
|||
mv ~/.zshrc "$OLD_ZSHRC"
|
||||
fi
|
||||
|
||||
mv ../dotfiles/.zshrc ~/.zshrc
|
||||
return
|
||||
echo "${GREEN}Using the Oh My Zsh template file and adding it to ~/.zshrc.${RESET}"
|
||||
|
||||
sed "/^export ZSH=/ c\\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue