mirror of
https://github.com/mentos1386/dotfiles.git
synced 2025-03-11 20:01:05 +00:00
Compare commits
No commits in common. "92bde3bcde80d3e42e5d7d28c3bbe9c74e4d7df3" and "5f948f88bd1bf7f0d3cfe97aac2486dffd3fc3ea" have entirely different histories.
92bde3bcde
...
5f948f88bd
3 changed files with 5 additions and 44 deletions
30
install.sh
30
install.sh
|
@ -15,9 +15,9 @@ workspace_link() {
|
||||||
ln -s $REPO_DIR/$1 $HOME_DIR/$2 || true
|
ln -s $REPO_DIR/$1 $HOME_DIR/$2 || true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo "== manjaro packages"
|
||||||
if cat /etc/lsb-release | grep Manjaro > /dev/null
|
if cat /etc/lsb-release | grep Manjaro > /dev/null
|
||||||
then
|
then
|
||||||
echo "== manjaro packages"
|
|
||||||
sudo pacman -Syu
|
sudo pacman -Syu
|
||||||
sudo pacman -S \
|
sudo pacman -S \
|
||||||
git \
|
git \
|
||||||
|
@ -27,28 +27,11 @@ then
|
||||||
neovim \
|
neovim \
|
||||||
zsh \
|
zsh \
|
||||||
tmux \
|
tmux \
|
||||||
nodejs \
|
|
||||||
ripgrep \
|
|
||||||
typos-bin
|
|
||||||
elif cat /etc/os-release | grep "Ubuntu" > /dev/null
|
|
||||||
then
|
|
||||||
echo "== ubuntu packages"
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install -y \
|
|
||||||
git \
|
|
||||||
bat \
|
|
||||||
vim \
|
|
||||||
neovim \
|
|
||||||
zsh \
|
|
||||||
tmux \
|
|
||||||
nodejs \
|
|
||||||
ripgrep \
|
|
||||||
snapd \
|
|
||||||
cargo
|
|
||||||
sudo snap install \
|
|
||||||
difftastic \
|
|
||||||
starship \
|
starship \
|
||||||
cargo install typos-cli
|
nodejs \
|
||||||
|
ripgrep \
|
||||||
|
fd \
|
||||||
|
typos-bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "== zplug"
|
echo "== zplug"
|
||||||
|
@ -60,9 +43,6 @@ then
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --yes
|
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "== Switching shell to ZSH"
|
|
||||||
sudo chsh $USER --shell $(which zsh)
|
|
||||||
|
|
||||||
echo "== Copying configuration files..."
|
echo "== Copying configuration files..."
|
||||||
# GIT
|
# GIT
|
||||||
workspace_backup .gitconfig
|
workspace_backup .gitconfig
|
||||||
|
|
|
@ -12,12 +12,6 @@
|
||||||
"filetypes": ["terraform", "tf"],
|
"filetypes": ["terraform", "tf"],
|
||||||
"initializationOptions": {},
|
"initializationOptions": {},
|
||||||
"settings": {}
|
"settings": {}
|
||||||
},
|
|
||||||
"graphql": {
|
|
||||||
"command": "graphql-lsp",
|
|
||||||
"args": ["server", "-m", "stream"],
|
|
||||||
// customize filetypes to your needs
|
|
||||||
"filetypes": ["typescript", "typescriptreact", "graphql"]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"prettier.disableSuccessMessage": true,
|
"prettier.disableSuccessMessage": true,
|
||||||
|
|
|
@ -16,7 +16,6 @@ Plug 'tmux-plugins/vim-tmux-focus-events'
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'sainnhe/edge'
|
Plug 'sainnhe/edge'
|
||||||
Plug 'Yggdroot/indentLine'
|
Plug 'Yggdroot/indentLine'
|
||||||
Plug 'koenverburg/peepsight.nvim'
|
|
||||||
" Git
|
" Git
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
" Search/Files
|
" Search/Files
|
||||||
|
@ -130,7 +129,6 @@ require'nvim-treesitter.configs'.setup {
|
||||||
"go",
|
"go",
|
||||||
"graphql",
|
"graphql",
|
||||||
"hcl",
|
"hcl",
|
||||||
"terraform",
|
|
||||||
"javascript",
|
"javascript",
|
||||||
"json",
|
"json",
|
||||||
"make",
|
"make",
|
||||||
|
@ -169,17 +167,6 @@ augroup JsonToJsonc
|
||||||
autocmd! FileType json set filetype=jsonc
|
autocmd! FileType json set filetype=jsonc
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
lua <<EOF
|
|
||||||
require'peepsight'.setup({
|
|
||||||
-- typescript
|
|
||||||
"arrow_function",
|
|
||||||
"function_declaration",
|
|
||||||
"generator_function_declaration",
|
|
||||||
"method_definition",
|
|
||||||
})
|
|
||||||
require'peepsight'.enable()
|
|
||||||
EOF
|
|
||||||
|
|
||||||
"""""
|
"""""
|
||||||
"--- Telescope Configuration
|
"--- Telescope Configuration
|
||||||
lua <<EOF
|
lua <<EOF
|
||||||
|
|
Loading…
Reference in a new issue