mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-18 16:26:50 +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)
|
||||
|
||||
export EDITOR=nano
|
||||
export EDITOR=vim
|
||||
export JAVA_HOME=
|
||||
|
||||
for f in $OTHER/*.zsh; do
|
||||
|
|
16
install.zsh
16
install.zsh
|
@ -1,13 +1,13 @@
|
|||
#!/usr/bin/env zsh
|
||||
# env, because some OSes keep zsh in /bin (I'm looking at you, Alpine)
|
||||
if [[ "$1" == "update" ]]; then
|
||||
cp .zshrc $HOME
|
||||
if [ -d "${HOME}/.zsh" ]; then
|
||||
rm -r $HOME/.zsh
|
||||
fi
|
||||
cp -r .zsh $HOME
|
||||
exit
|
||||
fi
|
||||
# if [[ "$1" == "update" ]]; then
|
||||
# cp .zshrc $HOME
|
||||
# if [ -d "${HOME}/.zsh" ]; then
|
||||
# rm -r $HOME/.zsh
|
||||
# fi
|
||||
# cp -r .zsh $HOME
|
||||
# exit
|
||||
# fi
|
||||
cp .zshrc $HOME
|
||||
if [ ! -d "${HOME}/.oh-my-zsh" ]; then
|
||||
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
||||
|
|
Loading…
Add table
Reference in a new issue