Try to fix some issues with zsh and nvim
This commit is contained in:
parent
df7bfd1282
commit
54d3dbf2e1
3 changed files with 7 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
require("user.packer")
|
||||
|
||||
require("user.set")
|
||||
require("user.remap")
|
||||
|
||||
require("user.packer")
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
-- This file can be loaded by calling `lua require('plugins')` from your init.vim
|
||||
|
||||
-- Only required if you have packer configured as `opt`
|
||||
vim.cmd [[packadd packer.nvim]]
|
||||
vim.cmd.packadd('packer.nvim')
|
||||
|
||||
return require('packer').startup(function(use)
|
||||
-- Packer can manage itself
|
||||
|
|
|
@ -2,9 +2,10 @@ source "$HOME/.config/environment"
|
|||
|
||||
if [ ! -f "$ZSH/oh-my-zsh.sh" ]
|
||||
then
|
||||
echo "Installing oh-my-zsh"
|
||||
RUNZSH="no" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" > /dev/null
|
||||
rm "$HOME/.zshrc"
|
||||
#echo "Installing oh-my-zsh"
|
||||
#RUNZSH="no" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" > /dev/null
|
||||
_autoinstall_git "https://github.com/ohmyzsh/ohmyzsh.git" "$ZSH"
|
||||
#mv "$ZSH/.zshrc.pre-oh-my-zsh" "$ZSH/.zshrc"
|
||||
fi
|
||||
|
||||
autoinstall base
|
||||
|
|
Loading…
Reference in a new issue