diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-03-01 23:45:36 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-03-01 23:45:36 +0300 |
commit | ceae2d7422545ae493c6dbf0217d234fb28e2ebc (patch) | |
tree | 24d273988a2e9a84d916b915ae094bf5d78255e9 /test-vm/prezto.sh | |
parent | 71b763b69278e43736e5821c4c5d35f51c643ee2 (diff) |
remove most things
Diffstat (limited to 'test-vm/prezto.sh')
-rw-r--r-- | test-vm/prezto.sh | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/test-vm/prezto.sh b/test-vm/prezto.sh deleted file mode 100644 index 3ac38503..00000000 --- a/test-vm/prezto.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/zsh -# We need to run this script in ZSH, so that switching user works! -NEW_USER=vagrant-prezto -# Create User -PASSWORD='$6$OgLg9v2Z$Db38Jr9inZG7y8BzL8kqFK23fF5jZ7FU1oiIBLFjNYR9XVX03fwQayMgA6Rm1rzLbXaf.gkZaTWhB9pv5XLq11' -useradd -p $PASSWORD -g vagrant -s $(which zsh) -m $NEW_USER -echo "$NEW_USER ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/$NEW_USER -chmod 440 /etc/sudoers.d/$NEW_USER - -( - # Change User (See http://unix.stackexchange.com/questions/86778/why-cant-we-execute-a-list-of-commands-as-different-user-without-sudo) - USERNAME=$NEW_USER - #UID=$(id -u $NEW_USER) - #EUID=$(id -u $NEW_USER) - HOME=/home/$NEW_USER - - git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" - - setopt EXTENDED_GLOB - for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do - ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" - done - - ln -s /vagrant_data/powerlevel9k.zsh-theme ~/.zprezto/modules/prompt/functions/prompt_powerlevel9k_setup - sed -i "s/theme\ 'sorin'/theme\ 'powerlevel9k'/g" ~/.zpreztorc - - # setup environment - /vagrant_data/test-vm-providers/setup-environment.sh -) |