Skip to content

kerogenesis/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

First steps

You need to clone this repository and go to the /tmp/ directory

git clone https://github.com/kerogenesis/dotfiles.git /tmp/dotfiles && cd /tmp/dotfiles

Shell (ZSH)

zsh screenshot

Let's install zsh and change the standard shell

Step by step
sudo apt update
sudo apt upgrade -y
sudo apt install zsh
sudo apt-get install powerline fonts-powerline
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
mv shell/zshrc ~/.zshrc
chsh -s /usr/bin/zsh
Or one line

sudo apt update && sudo apt upgrade -y && sudo apt install zsh -y && sudo apt-get install powerline fonts-powerline -y && git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh && git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions && git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting && mv shell/zshrc ~/.zshrc && chsh -s /usr/bin/zsh

Aliases and virtual environment variables

cd /tmp/dotfiles
mv shell/shell_aliases ~/.shell_aliases
mv shell/shell_env ~/.shell_env

pfetch

pfetch is configured via environment variables a couple of variables are already set in .shell_env

git clone https://github.com/dylanaraps/pfetch.git
sudo install pfetch/pfetch /usr/local/bin/

Vim

vim screenshot

  • Relative numbers are enabled
  • Disabled automatic commenting on new line
  • Backups and swap files are disabled
  • Splits are opened at the bottom and right and the navigation keys are remapped
  • The new tab is aliased to Ctrl+t
  • Global replace is aliased to S
  • System clipboard by default
  • Spellchecker is aliased to F5
  • UTF-8 by default

In general, my .vimrc is configured to work with Python: syntax is highlighted, indents are set to 4 spaces, smart indentation after keywords is enabled.

Let's install Vundle, the color scheme and our configuration files

Step by step
mkdir ~/.vim
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
mv vim/vimrc ~/.vimrc
mv -v vim/colors/ vim/spell/ ~/.vim/
vim +PluginInstall +qall
Or one line
mkdir ~/.vim && git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim && mv vim/vimrc ~/.vimrc && mv -v vim/colors/ vim/spell/ ~/.vim/ && vim +PluginInstall +qall

And that's it!

About

πŸ‘¨πŸ»β€πŸ’» Warkentin's dotfiles: vim, zsh, pfetch, python, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published