mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +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}"
|
echo "${YELLOW}Found ~/.zshrc.${RESET} ${GREEN}Keeping...${RESET}"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
mv ../dotfiles/.zshrc ~/.zshrc
|
|
||||||
return
|
|
||||||
if [ -e "$OLD_ZSHRC" ]; then
|
if [ -e "$OLD_ZSHRC" ]; then
|
||||||
OLD_OLD_ZSHRC="${OLD_ZSHRC}-$(date +%Y-%m-%d_%H-%M-%S)"
|
OLD_OLD_ZSHRC="${OLD_ZSHRC}-$(date +%Y-%m-%d_%H-%M-%S)"
|
||||||
if [ -e "$OLD_OLD_ZSHRC" ]; then
|
if [ -e "$OLD_OLD_ZSHRC" ]; then
|
||||||
|
|
@ -155,6 +153,8 @@ setup_zshrc() {
|
||||||
mv ~/.zshrc "$OLD_ZSHRC"
|
mv ~/.zshrc "$OLD_ZSHRC"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mv ../dotfiles/.zshrc ~/.zshrc
|
||||||
|
return
|
||||||
echo "${GREEN}Using the Oh My Zsh template file and adding it to ~/.zshrc.${RESET}"
|
echo "${GREEN}Using the Oh My Zsh template file and adding it to ~/.zshrc.${RESET}"
|
||||||
|
|
||||||
sed "/^export ZSH=/ c\\
|
sed "/^export ZSH=/ c\\
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue