Skip to content
Backup of my dotfiles.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.config
.dotfiles
.ipython/profile_default
.local/bin
Pictures
.travis.yml
LICENSE
My-Git-Repos.txt
README.md

README.md

My Dotfiles

Build Status LICENCE

Your dotfiles are how you personalize your system. These are mine. I was a little tired of having long alias files and everything strewn about(which is extremely common on other dotfiles projects, too). That led to this project being much more topic-centric. I realized I could split a lot of things up into the main areas I used, so I structured the project accordingly.

Installation

Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use my settings unless you know what that entails.

Use at your own risk!

There are various ways you can install the dotfiles either fork or clone or download repo.

  • Option #1
cd $HOME
git init
git remote add -f git@github.com:[USERNAME/REPO_NAME].git
git pull -f
git checkout -f master
bash .dotfiles/.dotfiles_setup.sh install
  • Option #2
wget https://github.com/mmphego/dot-files/archive/master.zip
unzip master.zip
rsync -uar --delete-after dot-files-master/{.,}* $HOME
cd $HOME
bash .dotfiles/.dotfiles_setup.sh install
  • Option #3
cd $HOME
git clone --depth 1 https://github.com/mmphego/dot-files
rsync -uar --delete-after dot-files/{.,}* $HOME
bash .dotfiles/.dotfiles_setup.sh install

The command (bash .dotfiles/.dotfiles_setup.sh install) will create symlinks for config files in your home directory.

After installation is complete, test if everything was installed successfully.

bash .dotfiles/.dotfiles_setup.sh test

To uninstall run;

bash .dotfiles/.dotfiles_setup.sh uninstall

What's in the dotfiles

Configurations

IPython configuration:

git configuration:

  • Adds git typos
  • Adds a ci alias that checks the continuous integration status.
  • Adds a pushd alias to push upstream and an option of creating a pull-request.
  • Adds a create-pr alias to push to remote and create a pull request.
  • Adds a commit-amend alias amend to previous commit with HEAD commit message.
  • Adds a commit-amend-push alias amend to previous commit with HEAD commit message and push to remote.

VSCode configuration:

Sublime Text configuration:

  • Added IPython.embed() snippet
  • Added few plugins
  • Few settings

XFCE4 Desktop Environment

  • Added static wallpaper
  • Moved the panel to the bottom of the screen, increased pixels to 48
  • Few extras

Shell aliases and scripts

  • .bash_aliases which contains most of my aliases.

  • .bash_functions which contains function, examples:

    • sciget: Download research papers easily with sci-hub.tw
    • getbibtex: Easily download BibTex from IEEEExplore.
    • cd: Redefined a cd builtin command and added ls -thor
    • etc
  • .bashrc which contains ShellOptions, source's, and some configurations.

  • .docker_aliases which contains my runnable Docker containers such as:

    • bat: supports syntax highlighting for a large number of programming and markup languages
    • tldr: A collection of simplified and community-driven man pages.
    • mardownlinter: docker based markdown linter
  • And few extras

Feedback

Feel free to fork it or send me PR to improve it.

You can’t perform that action at this time.