Browse Source

syntax highlighting stuff modified

master
junikimm717 3 years ago
parent
commit
181e148a8d
  1. 7
      asuser.sh

7
asuser.sh

@ -1,10 +1,10 @@
#!/bin/sh
DIR="$(realpath "$(dirname "$0")")"
# script must start at home directory
cd "$HOME" || exit 1;
DIR="$(realpath "$(dirname "$0")")"
usertest() {
if test "$(id -u)" -eq 0; then
echo "You cannot run this script as root.";
@ -68,8 +68,7 @@ plugins() {
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git \
"${ZSH_CUSTOM:-~/.oh-my-zsh/custom}"/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting"
}
dotfiles() {

Loading…
Cancel
Save