Repository to store my dotfiles, desktop scripts and tyical packages I install on desktop machines.
Rather than copying and manually syncing with other projets, this repository uses git submodules extensively.
As root:
apt install git make sudo
As normal user:
git clone https://github.com/architek/myfiles.git cd myfiles git submodule init git submodule update --recursive --remote make dot mbin deb curl -L https://cpanmin.us | perl - --sudo App::cpanminus
As root:
yum install -y git make sudo perl-App-cpanminus perl-local-lib
As normal user:
git clone https://github.com/architek/myfiles.git cd myfiles git submodule init git submodule update --recursive --remote make dot mbin rpm
Dotfiles
bash
zsh with
- o my zsh
- powerlevel10k theme with no special font (for portability)
- plugins: debian, git, extract, python, tmux
git
irssi
mutt with a few different account types as example
vim with some dev in particular python related plugins
tmux
A few (basic) scripts.
Some selected packages which will install on debian and redhat based systems. Edit Makefile to suit your needs.
See Aliases.
Getting updates and submodules updates:
git pull git submodule update --recursive # To use use the status of the submodule’s remote-tracking branch: git submodule update --recursive --remote
chsh -s `grep zsh /etc/shells` git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
For Centos7 which ships a very old zsh, you can only use powerlevel9k
git clone --depth=1 https://github.com/Powerlevel9k/powerlevel9k.git $ZSH_CUSTOM/themes/powerlevel9k
You will need to patch powerlevel9k git status function as described here: Powerlevel9k/powerlevel9k#1251
Please see powerlevel github page on which fonts you need
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf ~/.fzf/install