Skip to content

ConnerWill/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lf screenshot zsh screenshot fzf screenshot

dotfiles

My Personal dotfiles

ZSH  /  NVIM  /  TMUX  /  AWESOMEWM

shellcheck Test ZSH Configuration GitHub last commit GitHub issues GitHub repo size GitLab GitHub GitHub Repo stars


Installation

Standard Installation

Clone this repository to use as your dotfiles

git clone \
 --bare                                                    \
 --config status.showUntrackedFiles=no                     \
 --config core.excludesfile="${HOME}/.dotfiles/.gitignore" \
 --recurse-submodules                                      \
 --verbose --progress                                      \
 https://github.com/ConnerWill/dotfiles.git "${HOME}/.dotfiles"

Then checkout the main branch and exec zsh

- This will overwrite existing files! Make sure to backup first!
git --work-tree="${HOME}" --git-dir="${HOME}/.dotfiles" checkout --force main \
 && exec zsh

Single Command
- This will overwrite existing files! Make sure to backup first!
 clear \
 && export DOTFILES="${HOME}/.dotfiles" \
 && alias dotf='git --work-tree="${HOME}" --git-dir="${DOTFILES}"' \
 && git clone \
    --bare                                                    \
    --config status.showUntrackedFiles=no                     \
    --config core.excludesfile="${DOTFILES}/.gitignore"       \
    --verbose --progress                                      \
    --recurse-submodules                                      \
    https://github.com/ConnerWill/dotfiles.git "${DOTFILES}"  \
 && git --work-tree="${HOME}" --git-dir="${DOTFILES}" checkout --force main \
 && exec zsh
Test dotfiles in Docker

Test ZSH configuration in Docker

# Clone dotfiles as a normal repository
git clone --recurse-submodules https://github.com/connerwill/dotfiles.git ./connerwill-dotfiles

# Move into cloned repository
cd ./connerwill-dotfiles

# Move to ZSH configuration directory
cd "$(git rev-parse --show-toplevel)/.config/zsh"

# Build Dockerfile
docker build --tag connerwill-dotfiles-zsh:latest .

# Run the Docker container
docker run        \
    --rm          \
    --interactive \
    --tty         \
    connerwill-dotfiles-zsh:latest
Test dotfiles in Docker - OLD METHOD

Test full config in Docker

git clone --recurse-submodules https://github.com/connerwill/dotfiles \
  && docker run                                                       \
    -v $PWD/dotfiles:/root                                            \
    -it                                                               \
    archlinux                                                         \
    sh -c "ln -rs ~/.config/zsh/.zshenv ~/ && pacman -Sy --noconfirm zsh tmux git fzf bat lsd neovim && chsh --shell /usr/bin/zsh && exec zsh"

Test ZSH with no extra packages

git clone --recurse-submodules https://github.com/connerwill/dotfiles \
  && docker run                                                       \
    -v $PWD/dotfiles:/root                                            \
    -it                                                               \
    archlinux                                                         \
    sh -c "ln -rs ~/.config/zsh/.zshenv ~/ && pacman -Sy --noconfirm zsh && chsh --shell /usr/bin/zsh && exec zsh"



Configurations

  • Xresources
  • awesome
  • bat
  • fish
  • git
  • kitty
  • lynx
  • nano
  • nvim
  • powershell
  • sx
  • termux
  • tmux
  • zsh

Contributing

Click to expand contributing section

Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b AmazingFeature)
  3. Commit your Changes (git commit -m 'Added some AmazingFeature')
  4. Push to the Branch (git push origin AmazingFeature)
  5. Open a Pull Request

░█▀▄░█▀█░▀█▀░█▀▀░▀█▀░█░░░█▀▀░█▀▀
░█░█░█░█░░█░░█▀▀░░█░░█░░░█▀▀░▀▀█
░▀▀░░▀▀▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀