My configs: Bash, Git, Vim, Tmux, Alacritty, Node, Plymouth. Xubuntu/Fedora.
- Install
- Fix Xubuntu keyboard auto repeat delay and repeat rate
- Upgrade
- Further customization
- Resources
git clone https://github.com/VovanR/dotfiles.git ~/.config/dotfiles
Download any TrueType font
Copy it to ~/.fonts/truetype/
$ tree ~/.fonts/truetype/
~/.fonts/truetype/
└── Hack
├── Hack-BoldItalic.ttf
├── Hack-Bold.ttf
├── Hack-Italic.ttf
└── Hack-Regular.ttf
Xubuntu
sudo apt install fonts-ibm-plex fonts-hack
Fedora
sudo dnf install ibm-plex-mono-fonts jetbrains-mono-fonts
mkdir -p ~/.bash-completion
ln -sf ~/.config/dotfiles/bash_aliases.bash ~/.bash_aliases
ln -sf ~/.config/dotfiles/bash_functions.bash ~/.bash_functions
ln -sf ~/.config/dotfiles/bash_profile.bash ~/.bash_profile
ln -sf ~/.config/dotfiles/bash_prompt.bash ~/.bash_prompt
ln -sf ~/.config/dotfiles/inputrc ~/.inputrc
ln -sf ~/.config/dotfiles/tmux.conf ~/.tmux.conf
ln -sf ~/.config/dotfiles/Xresources ~/.Xresources
xrdb -merge ~/.Xresources
source ~/.bash_profile
- See: Preview themes
Install Base16 Shell
git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell
Apply theme
base16_atelier-forest
base16_bespin
or
base16_bespin
git config -f ~/.gitlocal user.name "Username"
git config -f ~/.gitlocal user.email "mail@gmail.com"
ln -sf ~/.config/dotfiles/gitconfig ~/.gitconfig
ln -sf ~/.config/dotfiles/gitignore_global ~/.gitignore_global
mkdir -p ~/.vim/{backups,swaps,undo}
ln -sf ~/.config/dotfiles/vimrc ~/.vim/vimrc
ln -sfn ~/.config/dotfiles/snippets ~/.vim/UltiSnips
Install Dein.vim.
Use Dein-installer.vim
wget https://raw.githubusercontent.com/Shougo/dein-installer.vim/master/installer.sh
less installer.sh
sh installer.sh
Install Plugins
vim
Compile vimproc
cd ~/.cache/dein/repos/github.com/Shougo/vimproc.vim && make
Install ack
ln -sf ~/.config/dotfiles/ackrc ~/.ackrc
ln -sf ~/.vim ~/.config/nvim
ln -sf ~/.config/nvim/vimrc ~/.config/nvim/init.vim
Check PYTHON QUICKSTART section to using Vim Python 2/3 plugins with Nvim
:checkhealth
Install Tmuxinator
sudo gem install tmuxinator
Add completion
wget https://raw.githubusercontent.com/tmuxinator/tmuxinator/master/completion/tmuxinator.bash -P ~/.bash-completion/
ln -sf ~/.config/dotfiles/alacritty/alacritty.toml ~/.config/alacritty/alacritty.toml
cp ~/work/alacritty/extra/completions/alacritty.bash ~/.bash-completion/
Add npm completion
npm completion > ~/.bash-completion/npm.bash
Change npm's default directory to another directory
mkdir -p ~/.npm-global/bin
npm config set prefix '~/.npm-global'
See: TypeError: Unable to watch path
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
Defaults
npm set init-author-email mail@gmail.com
npm set init-author-name "User Name"
npm set init-author-url https://mysite.com/
npm set init-license MIT
npm set init-version 0.0.0
npm install -g diff-so-fancy pm2
pm2
auto completion
pm2 completion > ~/.bash-completion/pm2.bash
git clone https://github.com/basherpm/basher.git ~/.basher
basher install vovanr/v-dummyimage
basher install vovanr/v-pomodoro-alert
basher install vovanr/git-delete-current-branch
basher install vovanr/clone-my-repo
Change background wallpaper
ls /usr/share/plymouth/themes/xubuntu-logo/wallpaper.png && ls /usr/share/xfce4/backdrops/Mountainous_View_by_Sven_Scheuermeier.jpg && sudo convert /usr/share/xfce4/backdrops/Mountainous_View_by_Sven_Scheuermeier.jpg /usr/share/plymouth/themes/xubuntu-logo/wallpaper.png
crontab -e
Add
*/15 * * * * DISPLAY=:0 /usr/bin/xset r rate 300 30
cd ~/.config/dotfiles
git pull
vim
cd ~/.config/base16-shell
git pull
basher update
rustup update stable
- Add any Bash profile customizations to
~/.bashlocal
- Add your git username/email/etc. to
~/.gitlocal
- Just fork this repo and hack on.