mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-19 08:45:36 +00:00
update install.sh
This commit is contained in:
parent
7aa81029c6
commit
099f2f2e88
2 changed files with 9 additions and 9 deletions
2
.zshrc
2
.zshrc
|
@ -9,7 +9,7 @@ source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
plugins=(git docker virtualenv)
|
plugins=(git docker virtualenv)
|
||||||
|
|
||||||
export EDITOR=nano
|
export EDITOR=vim
|
||||||
export JAVA_HOME=
|
export JAVA_HOME=
|
||||||
|
|
||||||
for f in $OTHER/*.zsh; do
|
for f in $OTHER/*.zsh; do
|
||||||
|
|
16
install.zsh
16
install.zsh
|
@ -1,13 +1,13 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
# env, because some OSes keep zsh in /bin (I'm looking at you, Alpine)
|
# env, because some OSes keep zsh in /bin (I'm looking at you, Alpine)
|
||||||
if [[ "$1" == "update" ]]; then
|
# if [[ "$1" == "update" ]]; then
|
||||||
cp .zshrc $HOME
|
# cp .zshrc $HOME
|
||||||
if [ -d "${HOME}/.zsh" ]; then
|
# if [ -d "${HOME}/.zsh" ]; then
|
||||||
rm -r $HOME/.zsh
|
# rm -r $HOME/.zsh
|
||||||
fi
|
# fi
|
||||||
cp -r .zsh $HOME
|
# cp -r .zsh $HOME
|
||||||
exit
|
# exit
|
||||||
fi
|
# fi
|
||||||
cp .zshrc $HOME
|
cp .zshrc $HOME
|
||||||
if [ ! -d "${HOME}/.oh-my-zsh" ]; then
|
if [ ! -d "${HOME}/.oh-my-zsh" ]; then
|
||||||
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue