My configuration files for different apps
- Clone this repository to a folder you like (here and further in examples it's
~/.config
)
git clone https://github.com/ivteplo/dotfiles ~/.config
- Install
starship
prompt
- Add this line to your
~/.bashrc
:
. ~/.config/bash/user_profile.sh
- Restart your shell
- Install autocompletion module:
Install-Module -name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck
- Add this line to your PowerShell profile file (you can check the file location by running
echo $PROFILE
in PowerShell):
. ~\.config\powershell\user_profile.ps1
- Restart your shell
bash/user_profile.sh
and powershell/user_profile.ps1
automatically add custom git scripts to the path.
If you don't use those shells/files, you just have to add ~/.config/git/scripts
to your path variable.
-
Install
vim-plug
-
Add this line to your
~/.vimrc
file:
source ~/.config/vim/config.vim
-
Open
vim
and run:PlugInstall
-
Wait for the installation to complete
-
Restart the editor
You can create a file called theme.vim
in the same folder where the config.vim
is. Here, you can call a function to change color scheme. For instance:
call ThemeTokyoNight()
The theme.vim
file is ignored by Git, so that every change of current color scheme won't change the state of the repo.
-
Do all the steps inside the Vim section
-
Install packer.nvim
-
Install TypeScript Language Server and TypeScript for LSP:
npm install -g typescript typescript-language-server
-
Start Neovim
-
Install packages from Packer:
:PackerInstall
- After the installation is complete, restart Neovim
First, you need to figure out where your settings.json
file is. Usually, there is a path like this:
%LOCALAPPDATA%/Packages/Microsoft.WindowsTerminal_?????????????/LocalState/settings.json
You need to replace that settings.json
file with the windows-terminal.json
file:
# In PowerShell
cp ~/.config/windows-terminal.json $env:LOCALAPPDATA/Packages/Microsoft.WindowsTerminal_?????????????/LocalState/settings.json